Docker cp error: Path not specified
10,305
Version 1.6.2 doesn't allow copying from host to container, you need to upgrade to at least 1.8 for that support.
![Mikhail Batcer](https://i.stack.imgur.com/Ia1v7.jpg?s=256&g=1)
Author by
Mikhail Batcer
Front end developer. Previously - full stack developer with Java, PHP, Python and SQL.
Updated on June 28, 2022Comments
-
Mikhail Batcer almost 2 years
I want to copy a file from my Ubuntu host to Docker container.
I use Docker 1.6.2 from 14.04 LTS repository.
When I try to copy I get error:
sudo docker cp 1.JPG evil_sammet:/root/openface/training-images/misha/1.jpg FATA[0000] Error: Path not specified
With equal success, I can type gibberish instead of file name and path:
sudo docker cp sdfsdfasd dfsdffd FATA[0000] Error: Path not specified