从宿主机将文件拷贝到docker容器
docker cp localfile docker_id:remotepath 例如:
docker cp /root/download/jenkins.war 9d32cd60676b:/home/jenkins_home/
从docker容器拷贝到宿主机:
docker cp docker_Id:remotefile localpath 例如
docker cp 9d32cd60676b:/home/jenkins_home/jenkins.war /root/download/