wait4x
wait4x copied to clipboard
Feature request: wait for http over socket
I have the following pattern to wait for Docker to be running:
wait-on -s 1 -t 1000 --verbose socket:/var/run/docker.sock
wait-on http-get://unix:/var/run/docker.sock:/info
wait-on -s 1 -t 1000 --verbose http-get://unix:/var/run/docker.sock:http://latest/info
This makes use of the wait-on utility.
It would be very handy if wait4x could have the ability to wait for sockets in general, and http-over-sockets in specific.
Hey @W1M0R, thanks for your suggestion! It’s a really nice feature. By the way, we’d be happy if you want to contribute to it. If not, no worries — we can also consider adding it in the near future.