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 😀