3 ms·
Does vagrant + virtualbox work on the M1s?
by sdevonoes 6y ago
Does vagrant + virtualbox work on the M1s?
- deleted 6y ago[deleted]
- tmiller02 6y agoVagrant 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 6y 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 6y 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 6y agoThank you so much for all the hard work. Very much appreciated!
- stef25 6y agoDocker makes things really slow, VirtualBox much better on my Intel Mac. Any idea if Parallels would work better on the M1?
- lloeki 6y agoThere is some official claim somewhere in the vbox forums that vbox will never support ARM, so you might just as well consider it dead. I'm currently using Docker for Mac but will move to UTM (a.k.a a nice UI atop qemu-hvf) when I have some time at hand. Vagrant I only used for some other OS VMs (e.g smartos) but the base images are x64 so there's no chance it works well (if ever) on ARM either.
- varispeed 6y ago> vbox will never support ARM, Is it because some kind of beef with ARM or they think it is technically impossible?
- my123 6y agoIt’s strictly x86 only, and wasn’t written with other platforms in mind at all. A port to Arm wouldn’t be really a port but a rewrite.
- arvindamirtaa 6y agoHere's the thread mentioned above - https://forums.virtualbox.org/viewtopic.php?f=8&t=98742#p488532 https://forums.virtualbox.org/viewtopic.php?f=8&t=98742#p488...