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.

  • How to access tomcat docker container running in VMWare workstation?
  • UnknownHostException in Kubernetes-Container
  • How to get version of node from docker container?
  • Kubectl run using yaml file config
  • How can I make connection between two services in docker swam?
  • mount points added to the host don't show up in a running docker container
  • 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 
    

  • Docker, Django and Selenium - Selenium unable to connect
  • Get Swarm node IP address from a container using API?
  • unable to run Apache/php from docker container
  • Auto reloading flask server on Docker
  • How to configure log-driver in kubernetes pods file?
  • Docker: how do I find localhost's password on Windows 8.1
  • One Solution collect form web for “Docker cp error: Path not specified”

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

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.