# vm: Ubuntu on Mac with UTM or Lima

- Link: https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/
- Published: 2025-03-25T08:23:58-07:00
- Author: rich

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](https://mac.getutm.app/)
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](https://github.com/utmapp/UTM/discussions/5998) are, but they are “ubuntu”
and “debian” for those respective images.

The other tool I’ve use is [Lima](https://github.com/lima-vm/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

### Share this:

 * [  Mastodon ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?subject=%5BShared%20Post%5D%20vm%3A%20Ubuntu%20on%20Mac%20with%20UTM%20or%20Lima&body=https%3A%2F%2Ftongfamily.com%2F2025%2F03%2F25%2Fvm-ubuntu-on-mac-with-utm-or-lima%2F&share=email)
 * [More](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/#)

 * [  Telegram ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=telegram)
 * [  Print ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=tumblr)
 * [  X ](https://tongfamily.com/2025/03/25/vm-ubuntu-on-mac-with-utm-or-lima/?share=twitter)

### Like this:

Like Loading…
