使用docker cp
命令
//docker cp sourcePath container:dstPath
//from host to container
$ docker cp ./website.war tomcat:/usr/local/tomcat/webapps/website.war
使用docker cp
命令
//docker cp sourcePath container:dstPath
//from host to container
$ docker cp ./website.war tomcat:/usr/local/tomcat/webapps/website.war