Tuesday, 8 December 2020

How to copy a file to docker container?

1. to check the container id

# docker ps


2. to copy a file from host to container

# sudo docker cp ./test.mp4 73411ab49381:/workspace/input

No comments:

Post a Comment