Search code examples
macosmultipass

How to share folder from Multipass to Host?


I'm using multipass(Ubuntu 20.04, local.driver=virtualbox).

How I can share folder from multipass to macOS(host), I need to have the possibility to change files from the host on multipass.


Solution

  • You have to create a network bridge to access the VM from outside, using the --network parameter when launching the instance. Then, you can share a folder from the instance using the SMB protocol (installing the samba package on the instance and configuring it in /etc/samba/smb.conf). And you'll see the share on your Finder.