Ping until docker is up or until timeout
You can use netcat
. You can check if a service is online on a specific port for example: nc -w 5 -z 127.0.0.1 8080
Added my comment as answer now.
You can use netcat
. You can check if a service is online on a specific port for example: nc -w 5 -z 127.0.0.1 8080
Added my comment as answer now.