Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker MySQL

Quick Start

docker run --name mysql -d cedvan/mysql:latest

User and Database

docker run --name mysql -d \
    -e 'DB_USER=dbuser' \
    -e 'DB_PASS=dbpass' \
    -e 'DB_NAME=dbname' \
    cedvan/mysql:latest

Multiple databases

docker run --name mysql -d \
    -e 'DB_NAME=dbname1, dbname2' \
    cedvan/mysql:latest

Save Data

docker run --name mysql -d \
    -v /opt/mysql/data:/var/lib/mysql \
    cedvan/mysql:latest
Docker Pull Command
Owner
huttopia
Source Repository