To copy file from you host computer to a container use command docker cp
docker cp file.txt ${CONTAINER_ID}:/root/file.txt
Replace ${CONTAINER_ID} with ID of the container. You can get container name using command:
docker ps -a
web development and system administration of Linux
To copy file from you host computer to a container use command docker cp
docker cp file.txt ${CONTAINER_ID}:/root/file.txt
Replace ${CONTAINER_ID} with ID of the container. You can get container name using command:
docker ps -a