#!/usr/bin/env bash

docker run \
    --name mysqld\
    -e MYSQL_ROOT_PASSWORD='asd' \
    -v /etc/passwd:/etc/passwd:ro \
    -v `pwd`:/var/lib/mysql/ \
    -v /var/run/mysqld/:/var/run/mysqld/ \
    -p 3306:3306 \
    mysql


#!/usr/bin/env bash

docker run \
    --name mysqld\
    -e MYSQL_ROOT_PASSWORD='asd' \
    -v /etc/passwd:/etc/passwd:ro \
    -v /etc/group:/etc/group:ro \
    -v `pwd`:/var/lib/mysql/ \
    -v /var/run/mysqld/:/var/run/mysqld/ \
    -p 3306:3306 \
    mysql


Use the right group as well.
Use the right group as well.
