Hacker News new | ask | show | jobs
by tallytarik 1606 days ago
It was pretty straightforward, following UTM's setup guide for Ubuntu, Docker's setup guide, and Mutagen's:

- https://mac.getutm.app/gallery/ubuntu-20-04 - https://docs.docker.com/engine/install/ubuntu/ - https://mutagen.io/documentation/introduction/installation

I create my Mutagen sync with a command like:

   mutagen sync create --name=mysite ~/Sites/mysite ubuntu@192.168.64.2:~/mysite --ignore=node_modules,vendor --ignore-vcs --default-owner-alpha=tallytarik --default-group-alpha=staff
As well as the `--default-owner-` switches, I had some file permission issues on the Docker side. I ended up using `setfacl` to enforce really permissive permissions on `~/mysite` on the VM side, otherwise some Docker containers would complain. It turns out Docker for Mac fakes some file permissions, which is why it wasn't a problem before.

Other than that, it mostly just worked! Feel free to get in touch if you have more specific questions.