Skip to content

Latest commit

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

wait

CICDUPDATEPUBLISH

Avaliable on DockerHub

Pause for a time equal to the total of the args given, where each arg can have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays
The container will exit gracefully after the time period has passed.

Usage

Command Line:

docker run --name wait clickbg/wait:latest 10m

Compose (v2.11.2):

 wait:
image: clickbg/wait:latest
container_name: wait
restart: "no"
command: 2m
wwwlb:
container_name: wwwlb
restart: always
image: nginx:latest
depends_on:
wait:
condition: service_completed_successfully
volumes:
- ${CONFDIR}/wwwlb/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "80:80"
- "443:443"

Releases

Packages

Used by

Contributors

Languages