本文共 306 字,大约阅读时间需要 1 分钟。
// 进入docker获取当前目录的路径# pwd// 将容器b7200c1b6150的文件test.json传到主机/tmp/,在Ubuntu命令行中输入$ docker cp b7200c1b6150:/opt/gopath/src/github.com/hyperledger/fabric/test.json /tmp/
// 将主机/tmp/test2.txt传到容器b7200c1b6150的根目录下,在Ubuntu命令行中输入$ docker cp /tmp/test2.txt b7200c1b6150:/opt/gopath/src/github.com/hyperledger/fabric/
转载地址:http://jjkof.baihongyu.com/