Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow dockerize to wait for network dependencies before main command #23
It is common when using tools like Docker Compose to depend on services in other linked containers, however oftentimes relying on links is not enough - whilst the container itself may have started, the service(s) within it may not yet be ready - resulting in shell script hacks to work around race conditions.
This PR gives dockerize the ability to wait for services on a specified protocol (
I've found this to be particularly useful when using Docker Compose as a test harness, where one of the containers needs to test another. Instead of
I also fixed a few minor grammatical/spelling mistakes.