This docker container is based on http://txt.fliglio.com/2013/11/creating-a-mysql-docker-container.
docker run -d -p 3600:3600 -e MYSQL_PASSWORD=yourpassword -v /data/mysql:/var/lib/mysql -name mysql pulse00/mysql
/data/mysql is the persistent data directory for the mysql server
To connect from another container, start the second container with the -link mysql:mysql flag, which will expose
the port and tcp address as an environment variable
MYSQL_PORT_3306_TCP_ADDR
Content type
Image
Digest
sha256:972e09263…
Size
87.1 MB
Last updated
almost 11 years ago
docker pull pulse00/mysql