When using the Docker toolbar, there seems to be another problem with absolute paths.
I communicate with containers using the Docker Quick Launch Docker, which is essentially a MINGW64 environment.
If I try to copy a file with an absolute path to the container, I get an error.
$ docker cp /d/Temp/my-super-file.txt container-name:/tmp/ copying between containers is not supported
If I use a relative path, it just works.
$ cd /d/ $ docker cp Temp/my-super-file.txt container-name:/tmp/
PS: I am posting this as an answer due to lack of reputation for comment.
source share