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.

  • Run tests inside Docker container with Jenkins
  • How to mount host volumes into docker containers in Dockerfile during build
  • Docker Object reference not set to an instance of an object
  • Travis-CI: docker image as build environment
  • Difference between Docker and CS Docker Engine ?
  • What is the essential difference between docker and rkt?
  • 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 

  • How permanently kill dockerd?
  • Run Caffe as CPU-only after a successful GPU Caffe installation
  • MongoDB Docker Windows dev env. linux production env. possible solution?
  • What's wrong with this dockerfile
  • I want to implement docker in spring and hibernate application using gradle
  • Kubernetes hyperkube config cannot found
  • 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.