Docker Community Forums

Share and learn in the Docker community.

How to share a folder of a Windows container WSL2 to Windows host?

Hi,
i just installed Docker Container for Windows on my desktop and i am running a Windows container in WSL 2 mode with a prebuilt application inside.
I am trying to share a folder (C:\SHARE\ ) of the guest machine (container) so the windows 10 host can read/write on it.

In the settings panel i see no options for sharing.
The documentation says “The File sharing tab is only available in Hyper-V mode, because in WSL 2 mode and Windows container mode all files are automatically shared by Windows.”
but i still don’t understand how to activate the file sharing.

Trying to open the IP from file explorer ( \\x.x.x.x ) ends with an error.

Any Help?
Thank you.