The docker cp command serves for copying files and folders between Docker container and a host machine.
It is possible to copy a file or folder from host to container as well as from container to host.
In the examples below i am coping the files but the syntax for copying folders is the same. (more…)