• Home
  • Projects
Koz.TV
  • Home
  • Projects

Copy file to local folder from docker container

Check containerId, by runing this command:

sudo docker ps

In order to copy a file from a container to the local computer, use following command:

docker cp :/file_path_inside_container /local_path

You can check full path to file inside the container with this command:

readlink -f file.ext
Share:
Mikhail Kozlov Administrator
August 13, 2019
General
Older Post Git configuration and first push
Newer Post Unity Collaborate
  • Telegram
  • Facebook
  • LinkedIn
  • Instagram

© 2014...2022
[email protected]