Docker: How to copy file from container to local computer
Task: Copy some file from container to local computer
Solution:
docker cp <container>:<path><filename.ext> <localpath>
Example:
docker cp nginx:/var/log/mylog.log .
Done.
Scientific Algorithms and Analytics
Task: Copy some file from container to local computer
Solution:
docker cp <container>:<path><filename.ext> <localpath>
Example:
docker cp nginx:/var/log/mylog.log .
Done.