docker cp to and from containers #13171
Copy files/folders between containers and the local filesystem.
In the first synopsis form, the
In the second synopsis form, the contents of
You can copy to or from either a running or stopped container. The
Behavior is similar to the common Unix utility
Assuming a path separator of
The command requires
A colon (
It is not possible to copy certain system files such as resources under
The text was updated successfully, but these errors were encountered:
Symlink sources don't seem to rebase properly:
It's because client expects base directory
If I run
How can we protect this from running containers updating a filesystem/volumes when the request is taking place? I mean we check for breakouts in the beginning of GET/PUT but if a container is using the filesystem it could just flip a symlink in the right time and then we would have full read/write to host.