Linux-下docker和主机之间的文件拷贝
从主机复制到容器sudo docker cp host_path containerID:container_path
从容器复制到主机sudo docker cp containerID:container_path host_path
docker cp /home/test/nginx/conf/conf.d/nginx.conf_20230530_zkm 55e7047698a0:/etc/nginx
从容器复制到主机sudo docker cp containerID:container_path host_path
docker cp /home/test/nginx/conf/conf.d/nginx.conf_20230530_zkm 55e7047698a0:/etc/nginx