LoginSignup
0
2

[Multipass] Running Ubuntu 20.04 LTS on macOS (Sonoma 14.2.1)

Last updated at Posted at 2024-02-24

My Environment

Chip: Apple M3 Max
Memory: 64GB
macOS: Sonoma 14.2.1

Installation

% brew install multipass
% multipass version

Usage

% multipass fd  # Show available images
% multipass launch 20.04 -c 4 -m 8G -d 64G  # Create a new instance with Ubuntu 20.04, named 'foo', with 4 CPUs, 8GB of memory, and 64GB of disk space

% multipass ls  # List all your instances

% multipass start foo  # Start the 'foo' instance
% multipass shell foo  # Log into the 'foo' instance. If 'foo' is not started, this command will start it automatically before logging in.
$ exit  # Log out from the current instance
% multipass stop foo  # Stop the 'foo' instance

% multipass delete foo  # Move the 'foo' instance to trash
% multipass purge  # Clear the trash, removing all deleted instances

image.png

Next Article (SSH from zsh/VSCode to UbuntuVM)

References

  • How to start Multipass:

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2