Sign inSign up

nkwhr/mysql

By nkwhr

•Updated about 11 years ago

MySQL image for Docker Toolbox (boot2docker) users.

Image
0

1.8K

nkwhr/mysql repository overview

⁠docker-mysql

⁠Description

Dockerfile for building a MySQL server.

Yes, there are official builds⁠ for MySQL, but if you are running under Docker Toolbox⁠ (or boot2docker⁠) and mounting a host directory as a data volume, there's a problem⁠.

This build fixes the problem by changing uid for mysql user so you'll be able to write data to a mounted host directory.

See Docker Hub⁠ for available tags.

⁠Usage

⁠Use image on Docker Hub
$ docker pull nkwhr/mysql:latest
$ docker run -d --name db -p 3306:3306 -v /Users/<name>/path:/var/lib/mysql nkwhr/mysql

Tag summary

Content type

Image

Digest

sha256:a26a864af…

Size

92.4 MB

Last updated

about 11 years ago

docker pull nkwhr/mysql