3 ms·
Vagrant works great on Macs with M1, the issue is finding a compatible 'provider' (VirtualBox, VMWare etc). For my personal projects I've been able to switch f
by tmiller02 5y ago
Vagrant works great on Macs with M1, the issue is finding a compatible 'provider' (VirtualBox, VMWare etc).
For my personal projects I've been able to switch from using VirtualBox to Docker as a Vagrant provider, and it works well enough for what I need it to do.
I created a cookiecutter template for Django projects at https://github.com/tmiller02/cookiecutter-django-react-ansible https://github.com/tmiller02/cookiecutter-django-react-ansib... that I use for development on my M1 mac using Vagrant + Docker.
- djs55 5y ago(I work for Docker on the M1 support) I'm glad it's working for you! There's a bug in the recent Docker Desktop on Apple Silicon RC build which affects some users of vagrant at the provisioning stage when the new ssh key is copied into the machine. It turned out that the permissions of `/dev/null` inside `--privileged` containers were `0660` (`rw-rw----`) instead of `0666` (`rw-rw-rw-`) In case you (or someone else) runs across this there's an open issue with a link to a build with the fix: https://github.com/docker/for-mac/issues/5527#issuecomment-817188600 https://github.com/docker/for-mac/issues/5527#issuecomment-8...
- tmiller02 5y agoHey, thanks for all your hard work, it's much appreciated! Thanks for the tip, that's good to know. I'm running RC2 and haven't come across any issues like that, although I don't run my Docker containers in 'privileged' mode when using Vagrant.
- arvindamirtaa 5y agoThank you so much for all the hard work. Very much appreciated!
- stef25 5y agoDocker makes things really slow, VirtualBox much better on my Intel Mac. Any idea if Parallels would work better on the M1?