docker cp foo.txt mycontainer:/foo.txt
docker cp <Path in the local machine> <Container ID>:<Path of file inside the container>