wait-for-it

script that will wait on the availability of a host and TCP port

Install

All systems
curl cmd.cat/wait-for-it.sh
Debian Debian
apt-get install wait-for-it
Ubuntu
apt-get install wait-for-it
image/svg+xml Kali Linux
apt-get install wait-for-it
Windows (WSL2)
sudo apt-get update sudo apt-get install wait-for-it
Raspbian
apt-get install wait-for-it

wait-for-it

script that will wait on the availability of a host and TCP port

wait-for-it is a pure bash script that will wait on the availability of a host and TCP port. It is useful for synchronizing the spin-up of interdependent services, such as linked docker containers. Since it is a pure bash script, it does not have any external dependencies.