docker run --name nginx-test -p 80:80 -d nginx
mkdir -p ~/nginx/www ~/nginx/conf ~/nginx/logs
docker cp 6dd4380ba708:/etc/nginx/nginx.conf ~/nginx/conf
docker run -d -p 80:80 --name blob.snodreams1006.cn -v ~/nginx/www:/usr/share/nginx/html -v ~/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v ~/nginx/logs:/var/log/nginx nginx
docker kill -s HUP container-name
docker restart container-name
docker run --name blob.snodreams1006.cn -p 80:80 -d nginx
docker cp 6af3f4d1911c:/etc/nginx/nginx.conf ~/nginx/conf
docker stop blob.snodreams1006.cn
scp -r /Users/adsryen/Documents/workspace/gitbook.prlrr.com/_book/* root@121.40.223.69:~/nginx/www
docker run -d -p 80:80 --name blob.adsryen.cn -v ~/nginx/www:/usr/share/nginx/html -v ~/nginx/conf/nginx.conf:/etc/nginx/nginx.conf -v ~/nginx/logs:/var/log/nginx nginx