A Docker container that exits as soon as a connection with a service can be established.
550
A Docker container that exits as soon as a connection with a service can be established.
$ docker run --rm aduermael/wait-for-service addr:port [retries [delay]]
(retries 10 times by default with 1 second delays)
The container exits with code 1 if service can't be reached.
Content type
Image
Digest
Size
74.6 MB
Last updated
over 9 years ago
docker pull aduermael/wait-for-service