docker中的拷贝命令真的很好用
命令如下
docker cp myImage:/etc/nginx
说明: myImage : 为当前你运行的镜像名字或序列号 /etc/nginx:为容器内对应的目录
myImage
/etc/nginx