docker container get files code example
Example 1: how to check docker contents
docker run -it image_name sh
Example 2: copy file to docker container
docker cp foo.txt mycontainer:/foo.txt
docker run -it image_name sh
docker cp foo.txt mycontainer:/foo.txt