vm: Ubuntu on Mac with UTM or Lima

Well, I try not to use Docker too much, but for compatibility testing, it is sure nice to have a QEMU like thing that I can bring up and down. UTM is a nice tool for this that uses the hypervisor stack for graphical applications.

Quick notes, when you download the Ubuntu 22.04 images, it isn’t clear what the passwords are, but they are “ubuntu” and “debian” for those respective images.

The other tool I’ve use is Lima which is a virtual machine system and Colima which adds docker support on top. This great for quick command line stuff, so you can do a limactl start and then talk to the Linux VM with lima ls and then you can run docker inside it with lima nerdctl run hello-world. You can pick images to run too, so start let’s you pick debian as an example. but if you just want a full command line then lima bash is your friend. Or limactl shell default does the same thing

The later is nice because it’s fast and command line only

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

I’m Rich & Co.

Welcome to Tongfamily, our cozy corner of the internet dedicated to all things technology and interesting. Here, we invite you to join us on a journey of tips, tricks, and traps. Let’s get geeky!

Let’s connect

Recent posts

Loading Mastodon feed…