Nginx的部署 docker run -p 80:80 -p 81:81 --name nginx -v /www/nginx/html:/usr/share/nginx/html -v /www/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf --link php:php --link mysql:mysql -d nginx:latest; docker stop nginx; docker rm nginx;
docker run -p 80:80 -p 81:81 --name nginx -v /www/nginx/html:/usr/share/nginx/html -v /www/nginx/conf.d/default.conf:/etc/nginx/conf.d/default.conf --link php:php --link mysql:mysql -d nginx:latest; docker stop nginx; docker rm nginx;
|