Skip to content
Wait for a docker stack deploy to complete
Shell Dockerfile
Branch: master
Clone or download
Latest commit 8801d41 Jul 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore Adjusting .dockerignore Apr 13, 2019
Dockerfile Adding docker version Jul 23, 2019
LICENSE Initial release Oct 6, 2018 Updating readme Apr 13, 2019 Trap signals and immediately exit Apr 13, 2019

Docker Stack Wait

Waits for a docker stack deploy to complete.

Example Usage: $stack_name

Help output:

$ ./ -h [opts] stack_name
  -h:     this help message
  -r:     treat a rollback as successful (by default, a rollback indicates failure)
  -s sec: frequency to poll service state (default 5 sec)
  -t sec: timeout to stop waiting

Usage as container

$ docker run --rm -it \
  -v /var/run/docker.sock:/var/run/docker.sock \
  sudobmitch/docker-stack-wait $stack_name

or with an alias

$ alias docker-stack-wait='docker run --rm -it \
  -v /var/run/docker.sock:/var/run/docker.sock \

The respective container is available on Docker Hub and built with Docker Hub Automated Builds.

You can’t perform that action at this time.