启动并挂在到外部
docker run -it --privileged=true -v /home/www/:/var/www/ -d -p 8888:80 hub.c.163.com/public/lamp
进入目录
docker exec -it ee90997019b0 /bin/bash
从docker拷贝文件到物理机
docker cp 8126a9ebe05b:/var/www/index.html /home
Nginx镜像
docker pull hub.c.163.com/library/nginx:latest
docker run -d -p 9999:80 hub.c.163.com/library/nginx
docker exec -it 10b48329585c /bin/bash
docker cp 10b48329585c:/etc/nginx/conf.d/default.conf /home/www
WDCP
docker pull hub.c.163.com/bestony/wdcp:v3
docker run -d -p 80:80 -p 8080:8080 hub.c.163.com/bestony/wdcp:v3
docker run -it --privileged=true -v /home/www/:/var/www/ -d -p 8888:80 hub.c.163.com/public/lamp
进入目录
docker exec -it ee90997019b0 /bin/bash
从docker拷贝文件到物理机
docker cp 8126a9ebe05b:/var/www/index.html /home
Nginx镜像
docker pull hub.c.163.com/library/nginx:latest
docker run -d -p 9999:80 hub.c.163.com/library/nginx
docker exec -it 10b48329585c /bin/bash
docker cp 10b48329585c:/etc/nginx/conf.d/default.conf /home/www
WDCP
docker pull hub.c.163.com/bestony/wdcp:v3
docker run -d -p 80:80 -p 8080:8080 hub.c.163.com/bestony/wdcp:v3