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 setup SSH access to a docker container?
  • How to replace a Docker data volume with another at runtime?
  • Docker: Setting up a GUI in a Docker Container on a Raspberry Pi
  • error when install tools in docker container
  • kubernetes and debugging it in general
  • How to connect with JMX from host to Docker container in Docker machine?
  • 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 

  • Why does Docker run so many processes to map ports though to my application?
  • Use host networking and additional networks in docker compose
  • Replacing sbt-native-packager with sbt-docker in Scala Play
  • Where to find geard deployment fixture/config documentation?
  • Docker --tag vs --name clarification
  • Access a docker container on a non standard SSL port
  • 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.