Sign inSign up

kosprov/wait-on

By kosprov

•Updated almost 8 years ago

A simple wait-on docker wrapper

Image
0

10K+

kosprov/wait-on repository overview

⁠A simple wait-on docker wrapper

Wraps the wonderful Node.js utility wait-on⁠ as a Docker image.

⁠Usage

Same API as wait-on, so just run:

docker run --rm -t kosprov/wait-on {OPTIONS} resource [...resource]

More info on wait-on documentation⁠

If you're passing a config file, use Docker mount facility to bind to the host file system. Assuming a config.json file in the current directory:

docker run --rm -t \
    --mount type=bind,source=$(pwd)/config.json,target=/tmp/config.json \
    kosprov/wait-on \
    --config /tmp/config.json \
    http://www.google.com/

⁠License

⁠Repository

https://github.com/kosprov/wait-on-docker⁠

Tag summary

Content type

Image

Digest

Size

17.9 MB

Last updated

almost 8 years ago

docker pull kosprov/wait-on