This is an old revision of the document!


Copying files between host and container

  • The cleanest way how to copy files between host and container is to mount an image to the container
    docker run -v /path/to/hostdir:/mnt $container
    cp /mnt/sourcefile /path/to/destfile
 
docker/start.1425376988.txt.gz · Last modified: 2015/03/03 11:03 by vondra