Swarm

Simpler than Kubernetes

Cmd

Effect

docker stack ls

# List stacks or apps

docker stack deploy -c

# Run the specified Compose file

docker service ls

# List running services associated with an app

docker service ps

# List tasks associated with an app

docker inspect

# Inspect task or container

docker container ls -q

# List container IDs

docker stack rm

# Tear down an application

docker swarm leave --force

# Take down a single node swarm from the manager

Last updated