Yousry Mohamed
Feb 18, 2021

--

Hi Mehdi,

If you want to copy a file from host to container or vice versa you can use docker cp command to do it. It’s pretty easy.

The other option specially if you want to copy contents of source code files, is to create the file with the right name in the container using nano (which is a text editor) then use plain copy-paste method to paste file contents and save the file inside the container.

Hope that helps 😀

--

--

Yousry Mohamed
Yousry Mohamed

Written by Yousry Mohamed

Yousry is a principal data engineer working for Mantel Group. He is very passionate about all things data including Big Data, Machine Learning and AI.

Responses (1)