Last active
April 5, 2022 13:29
-
-
Save alexishida/cdbf34ff50fd3cb5f1558a2762546131 to your computer and use it in GitHub Desktop.
Docker mariadb+phpmyadmin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d \ | |
--name=mariadb \ | |
--restart=always \ | |
-v /etc/localtime:/etc/localtime:ro \ | |
-e MYSQL_ROOT_PASSWORD=root \ | |
-v /storage/mariadb:/var/lib/mysql \ | |
-p 3306:3306 \ | |
mariadb:latest | |
docker run -d \ | |
--restart=always \ | |
--name myadmin \ | |
-v /etc/localtime:/etc/localtime:ro \ | |
--link mariadb:db \ | |
-p 8080:80 \ | |
phpmyadmin/phpmyadmin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment