Docker

·

1 min read

Copy a file to a docker container

docker cp fileName.json mongodb1:/fileName.json

Connect on the container terminal

docker exec -it mongodb1 /bin/sh