Sign inSign up

dhwebb/wait4mysql

By dhwebb

•Updated about 8 years ago

Waits on a MySQL container to become available before exiting.

Image
1

50K+

dhwebb/wait4mysql repository overview

⁠wait4mysql

Waits on a MySQL container to become available before exiting.

⁠Description

Run this container while linked to a MySQL container to cause automation scripts to pause until MySQL is ready.

⁠Example

docker run -d --name mysql -e MYSQL_ROOT_PASSWORD=my-secret mysql
docker run --link mysql dhwebb/wait4mysql

⁠Environment Variables

You can pass in the following environment variables: HOST, PORT, USERNAME, PASSWORD, TIMEOUT.

Tag summary

Content type

Image

Digest

Size

3.5 MB

Last updated

about 8 years ago

docker pull dhwebb/wait4mysql