This image is bases on centurylink/mysql , just add a sample Employee database
docker run -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=toor --name mysql drtan/mysql
docker exec -ti mysql bash mysql -u root -p
user : root Password : toor
MYSQL_ROOT_PASSWORD: The password for the root user. Defaults to a blank password MYSQL_DATABASE: A database to automatically create. If not provided, does not create a database. MYSQL_USER: A user to create that has access to the database specified by MYSQL_DATABASE. MYSQL_PASSWORD: The password for MYSQL_USER. Defaults to a blank password.
Content type
Image
Digest
Size
203.7 MB
Last updated
over 8 years ago
docker pull drtan/mysql