Copying Files Copy a file or directory from the local system to a container: docker cp <local-path> <container-id>:<container-path> Copy a file or directory from a container to the local system: docker cp <container-id>:<container-path> <local-path>