docker cp command to copy files from the inner and outer containers

You can view help by docker cp --help

  docker cp 7a:/tmp/yum.log .

  docker cp yum.log 7a:/

  docker exec 7a ls /

 

Guess you like

Origin www.cnblogs.com/S--S/p/11715694.html