3 ms·
How are you doing volume mounts? That's where I tend to come unstuck.
by regularfry 5y ago
How are you doing volume mounts? That's where I tend to come unstuck.
- apatheticonion 5y agoI run Debian in a VM, use ssh and VSCode SSH tools to do work within the VM. Compilation, docker, everything happens in the VM and my MacOS host is just a thin client that hosts my code editor and browser. VSCode will automatically forward ports, but I prefer to manually manage port forwarding using `-L` and `-R` ssh arguments.
- lovelyviking 5y ago>I run Debian in a VM, use ssh Can you share how you configure networking for your Debian in a VM? Is it different for qemu running on mac m1 silicon?
- jillesvangurp 5y agoDon't tend to use those for development. But I imagine they would end up mounting directories inside the vm. You could get to those via scp or something like that.
- regularfry 5y agoThe problem tends to be getting inotify to work properly across the boundary. You want to propagate filesystem changes into the VM, in the ideal world. Docker-desktop's got some closed-source wizardry that makes it Just Work, I'm just not sure what's as slick in the open-source ecosystem.
- tallytarik 5y agoI’ve done something similar, although I ditched Docker at the macOS layer entirely and use Docker within my (Ubuntu) VM. I use Mutagen (https://mutagen.io/ https://mutagen.io/) for syncing files between macOS and the VM. Works well. (And overall, my Drupal project is about 20x faster through the VM than Docker for Mac, which I still find incredible)
- dnautics 5y agois official NFS over vsock a thing yet in QEMU?