Sign inSign up

rlindooren/docker-wait-for-it

By rlindooren

•Updated over 8 years ago

A small Docker image that can be used to wait on a certain host+port to become available

Image
0

865

rlindooren/docker-wait-for-it repository overview

A small Docker image that can be used to wait on a certain host+port to become available. This can be useful in build pipelines where it is mandatory that a service is running before continuing.

Source: https://github.com/vishnubob/wait-for-it⁠

⁠Example:

⁠Use the image from Docker Hub:
docker run rlindooren/docker-wait-for-it google.nl:80 -t 10 -- echo "Google is up"
⁠Or build the image yourself:
docker build -t wait-for-it .
docker run wait-for-it google.nl:80 -t 10 -- echo "Google is up"

Tag summary

Content type

Image

Digest

Size

3.2 MB

Last updated

over 8 years ago

docker pull rlindooren/docker-wait-for-it