Sign inSign up

pulse00/mysql

By pulse00

Updated almost 11 years ago

Image
0

1.9K

pulse00/mysql repository overview

Docker mysql image

This docker container is based on http://txt.fliglio.com/2013/11/creating-a-mysql-docker-container.

Usage

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

Linking

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

Tag summary

Content type

Image

Digest

sha256:972e09263

Size

87.1 MB

Last updated

almost 11 years ago

docker pull pulse00/mysql