Skip to content
Bash script to wait for services availability
Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Wait for services

wait-for-services is a script to wait for a single or multiple services to become available, which hold on until container responds on specified address/port pairs.

You can use it like:

docker run --rm -it yuriheupa/wait-for-services <service1_address> <service1_port> <service2_address> <service2_port> && <other command>
You can’t perform that action at this time.