mv a file from host to a docker container code example Example: copy file from host to docker container docker cp foo.txt mycontainer:/foo.txt