MySQL server in docker that runs with user-defined UID and GID
1.0K
Uses the official MySQL docker base image but allows the UID/GID of mysql user to be defined.
Official git repo: https://github.com/docker-library/mysql/
set-mysql-uid.sh only kicks into action when both the following environment variables are set to valid numeric user and group ID, typically, those of the Linux user running the Docker image, so that files and directories created in /var/lib/mysql (in container) are owned and accessible.
Be default, this entrypoint script passes control to /usr/local/bin/docker-entrypoint.sh unless environment variable MYSQL_ENTRYPOINT points to another script.
Content type
Image
Digest
Size
131.9 MB
Last updated
almost 8 years ago
docker pull cheewai/docker-mysql