Docker Cp Error: Path Not Specified

Docker Cp Error: Path Not Specified

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 
3

1 Answer

Version 1.6.2 doesn't allow copying from host to container, you need to upgrade to at least 1.8 for that support.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.