Sign inSign up

dufner/wait-for-it

By dufner

•Updated about 5 years ago

multiarch image for arm64 and amd64

Image
0

5.3K

dufner/wait-for-it repository overview

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⁠)

Tag summary

Content type

Image

Digest

Size

5.4 MB

Last updated

about 5 years ago

docker pull dufner/wait-for-it