This repository uses to storage some files for docker containers.
/path/nginx/www is the path in host to storage web files /path/mariadb/data is the path in host to storage database
sudo docker run --name mariadb -p 3306:3306 -v /path/mariadb/data:/var/lib/mysql -d liumiaocn/maria
(note: build by mariadb-second)
sudo docker run --name php-fpm -v /path/nginx/www:/var/www --link mariadb:mariadb --link mongodb:mongodb -d php-fpm:7.2
sudo docker run --name nginx -p 80:80 -v /path/nginx/www:/var/www --link php-fpm:php-fpm -d nginx:1.14.0