Moon Light Box

Time is Money

Docker - Install MariaDB and phpMyAdmin

| Comments

I use private registry (10.10.10.10:5566).

# docker run --name dbdata 10.10.10.10:5566/mariadb echo "this is volume container"
# docker run --name mariadb -e MYSQL_ROOT_PASSWORD=1q2w3e4r --volumes-from dbdata -d 10.10.10.10:5566/mariadb
# docker run --name myadmin -d --link mariadb:db -p 8080:80 10.10.10.10:5566/phpmyadmin/phpmyadmin

Open browser http://127.0.0.1:8080 then enter root/1q2w3e4r. Enjoy it.

https://chnbohwr.myds.me/wordpress/?p=380

Comments

comments powered by Disqus