docker存档
docker 拷贝文件
{host} docker run -v /path/to/hostdir:/mnt --name my_container my_image {host} docker exec -it my_container bash {container} cp /mnt/sourcefile /path/to/destfile
docker cp foo.txt mycontainer:/foo.txt
docker 拷贝文件
docker cp foo.txt mycontainer:/foo.txt