Use latest tag for multiarch image
Perfect as init container:
[...]
initContainers:
- name: init
image: dufner/wait-for-it:latest
args: ["-t", "30", "example.org:80"]
[...]
General usage:
wait-for-it.sh host:port [-s] [-t timeout] [-- command args]
-h HOST | --host=HOST Host or IP under test
-p PORT | --port=PORT TCP port under test
Alternatively, you specify the host and port as host:port
-s | --strict Only execute subcommand if the test succeeds
-q | --quiet Don't output any status messages
-t TIMEOUT | --timeout=TIMEOUT
Timeout in seconds, zero for no timeout
-- COMMAND ARGS Execute command with args after the test finishes
(based on https://github.com/lqhl/wait-for-it)
Content type
Image
Digest
Size
5.4 MB
Last updated
about 5 years ago
docker pull dufner/wait-for-it