Open YohLee opened 4 years ago
http://blog.csdn.net/yangzhenping/article/details/43667785
从主机复制到容器sudo docker cp host_path containerID:container_path
从容器复制到主机sudo docker cp containerID:container_path host_path
1,docker ps -a -------获取containerID 2,sudo docker cp /home/oracle_backup/emr.dmp 39abd27c32b7:/home/oracle/ sudo docker cp /home/oracle_backup/ehr.dmp 39abd27c32b7:/home/oracle/
http://blog.csdn.net/yangzhenping/article/details/43667785
从主机复制到容器sudo docker cp host_path containerID:container_path
从容器复制到主机sudo docker cp containerID:container_path host_path
1,docker ps -a -------获取containerID 2,sudo docker cp /home/oracle_backup/emr.dmp 39abd27c32b7:/home/oracle/ sudo docker cp /home/oracle_backup/ehr.dmp 39abd27c32b7:/home/oracle/