Access Docker container files from Windows File Explorer

How can I access Docker folder folders and files from windows file explorer?

+10
source share
2 answers

Only those are available who:

0
source

You must use mount volume. At your command, docker run....you can specify the volume to mount. The syntax is as follows:

-v / host / directory: / container / directory

Example:

The window starts -it -v C: \ Users \ thomas \ Desktop: / root / home --name my_container image1

/root/home .

0

Source: https://habr.com/ru/post/1616883/


All Articles