-
-
Save sjtosco/b24a6c8db99cd882a114f4b6af2ce8d2 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