Copy file/files to docker container using tar September 17, 2018August 21, 2018 by admin tar -c foo.sh | docker exec -i theDockerContainer /bin/tar -C /tmp -x