Docker-OSX
Docker-OSX copied to clipboard
How to share a folder from my WSL2 with the macos container?
I successfully created a container, reinstalled the Monterey OS and I am happy for now. Every major change I make in the container (like install a new App) I do docker container commit
and I am able to restart it from where I left it.
I want to use this container to develop some small Apps using the Visual Studio for Mac, so, I want to create files inside the container but save these files in my host OS which is WSL2 running in my Windows 11. Is that possible?
I already tried what is described here https://github.com/sickcodes/Docker-OSX#share-directories-sharing-files-shared-folder-mount-folder but the sshfs command fails with the following error read: Connection reset by peer
Same here
I fixed by enabling Remote login in mac os system settings.