Deploy a new stack or update an existing stack
docker stack deploy [OPTIONS] STACK
Name, shorthand | Default | Description |
---|---|---|
--bundle-file |
Path to a Distributed Application Bundle file | |
--compose-file, -c |
Path to a Compose file | |
--with-registry-auth |
false |
Send registry authentication details to Swarm agents |
Command | Description |
---|---|
docker stack | Manage Docker stacks |
Command | Description |
---|---|
docker stack deploy | Deploy a new stack or update an existing stack |
docker stack ls | List stacks |
docker stack ps | List the tasks in the stack |
docker stack rm | Remove the stack |
docker stack services | List the services in the stack |