Public | Automated Build

Last pushed: a year ago
Short Description
Docker image for MySQL Server 5.6 with persistent data (using data volume)
Full Description

mysql-5.6-persistent

Docker image for MySQL 5.6 with persistent data (using data volume)

Build

docker build -t andreisusanu/mysql-5.6-persistent .

Create data volume

docker volume create --name MySQLStorageVolume

Run

docker run \
    --name mysql-5.6-persistent \
    -p 3306:3306 \
    -v MySQLStorageVolume:/var/lib/mysql \
    andreisusanu/mysql-5.6-persistent

MySQL credentials

root without password (blank password)

Docker Pull Command
Owner
andreisusanu

Comments (0)