5 ms·
> It's literally everything you could want in a new MacBook Pro. If it doesn't run VirtualBox then I can't use it to write code, so why does it even matter if
by Alex3917 5y ago
> It's literally everything you could want in a new MacBook Pro.
If it doesn't run VirtualBox then I can't use it to write code, so why does it even matter if it's faster?
- idle_zealot 5y agoYou can run Linux with UTM.
- Alex3917 5y agoCan I keep my existing vagrant / Ansible setup? Or, basically, what would I need to use in order to provision the instances?
- ArchOversight 5y agoYou can keep your ansible. Does vagrant support alternate providers for running VM's? Then yes, you can keep your vagrant too.
- Alex3917 5y agoIt looks like Vagrant doesn't work yet with UTM: https://github.com/hashicorp/vagrant/issues/12518 https://github.com/hashicorp/vagrant/issues/12518 Conceptually I'd love one of these machine, but realistically if I can't develop locally in an Ubuntu VM then I might as well just wait a year or two to buy one until that's possible. I'm not going to use Docker, and realistically I have zero interest in spending multiple weeks rewriting all of my provisioning scripts.
- cassianoleal 5y agoVagrant has a QEMU driver, which is what UTM uses anyway. I can't say it will do what you need the way you want but I suspect it's possible to get there. QEMU can virtualise arm and emulate x86.
- Alex3917 5y agoThanks, I'll check this out! I just need to run Python on Ubuntu, so hopefully that isn't too crazy of a use case.
- solarmist 5y agoParallels supports linux VMs. https://kb.parallels.com/128445 https://kb.parallels.com/128445 You could use that now or wait for virtual box to catch up (I assume).
- nyadesu 5y agoYou can always use docker
- Alex3917 5y agoDocker doesn’t really work on Mac. Like it technically runs, but just barely. Because it uses containerization inside virtualization, it pegs the CPU just to run a hello world app and completely drains the battery in 30 min. Oh and the fans sound like an airplane taking off.
- Gigachad 5y agoI have no idea what you are talking about. I have about 7 containers running the full work app and I can't hear any fan noise and the laptop is running cold. This thing is running Rails, mysql, elastic search, redis, mongodb, and workers inside docker. As well as nodejs, vscode, a handful of electron apps all at the same time and the laptop is cold.
- jordanthoms 5y agoNot my experience at all, you must have something weird in your setup. For a full dev environment I'm running containers with postgres, cockroachdb, several ruby apps, kafka, some JVM based stuff, and clickhouse and it does hit battery life a bit but certainly not pegging the CPU, actually it's using less than Slack...
- cassianoleal 5y agoNot my experience either on a fanless M1 Air. I can run lots of containers without it perceptibly heating up or slowing down. Battery life does suffer but I can still usually get at least 4-5h of solid programming like this.
- cmckn 5y agoI don’t know anyone at work who would agree with this. Docker is fine on macOS, honestly always has been. Sure, it will show up in Activity Monitor, but so will any other software that is actually doing something. I have never seen my CPU peg because of Docker, and I regularly run large stacks, use Earthly for all my builds, etc. The overhead of the VM + containerd is truly not that large.
- tornato7 5y agoMaybe you should be questioning why you need VirtualBox to write code
- plandis 5y ago> why does it even matter if it's faster? Have you considered that plenty of people don’t need VirtualBox to write code?
- fastball 5y agoI'm writing this comment from Ubuntu running on my M1 Macbook Pro, so...?
- Tempest1981 5y agoHow is the GPU performance?
- fastball 5y agoNo idea really, not sure I've done anything GPU-heavy on Ubuntu.