फ़ाइल को डॉकर कंटेनर से होस्ट करने के लिए कॉपी करें
docker cp <containerId>:/file/path/within/container /host/path/target
फ़ाइल को डॉकर कंटेनर में कॉपी करें
docker cp foo.txt mycontainer:/foo.txt
फ़ाइल को होस्ट से डॉकर कंटेनर में कॉपी करें
docker cp foo.txt mycontainer:/foo.txt