Difference between revisions of "Multipass launch"
Jump to navigation
Jump to search
↑ https://multipass.run/docs/launch-command
↑ https://github.com/canonical/multipass/issues/255
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 37: | Line 37: | ||
multipass launch | multipass launch | ||
launch failed: CPU does not support [[KVM extensions]]. | launch failed: CPU does not support [[KVM extensions]]. | ||
+ | |||
+ | multipass launch | ||
+ | launch failed: cannot connect to the multipass socket | ||
+ | Please ensure multipassd is running and '/var/snap/multipass/common/multipass_socket' is accessible | ||
== Related commands == | == Related commands == |
Revision as of 08:13, 7 April 2021
The multipass launch
[1] command without any argument will create and start a new instance based on the default image, using a random generated name, you can configure it using --name
option. As of August 2020 not renaming option is available[2].
multipass launch --name ubuntu-vm launch failed: failed to download from 'http://cloud- images.ubuntu.com/releases/server/releases/bionic/release-20200129.1/ubuntu-18.04-server-cloudimg-amd64.img': Network timeout
multipass launch lts
multipass launch lts --name TEST
multipass launch 20.10
multipass launch groovy
multipass launch --cpus 2 --mem 8G --disk 25G --name MY_NEW_VM && multipass connect MY_NEW_VM
multipass launch --cpus 2 --mem 8G --disk 25G --name MY_NEW_VM
multipass launch --cpus 2 --mem 8G --name MY_NEW_VM
multipass launch --cpus 2 --name MY_NEW_VM
multipass launch --name MY_NEW_VM 20.04
multipass launch --name ubuntu-lts-custom --cloud-init cloud-config.yaml
- To find available images:
multipass find
Examples
multipass launch groovy Launched: open-kit
multipass launch 20.10 --name my_VM Launched: my_VM
It will create a 5GB Ubuntu machine with 1 CPU and 1 GB memory
With errors
multipass launch lts launch failed: The following errors occurred: Instance stopped while starting
multipass launch launch failed: CPU does not support KVM extensions.
multipass launch launch failed: cannot connect to the multipass socket Please ensure multipassd is running and '/var/snap/multipass/common/multipass_socket' is accessible
Related commands
multipass find
multipass list
multipass connect
multipass delete VM_NAME --purge
ormultipass purge
virtinst
:virt-install
virt-builder
lxc launch
apt update -y && apt upgrade -y
See also
- Multipass,
MULTIPASS_STORAGE
,/Library/Logs/Multipass/multipassd.log
,/var/run/multipass_socket
, Multipass releases, multipassd - Ubuntu, Ubuntu releases, snap, MAAS, PPA, Canonical Livepatch, Ubuntu Advantage, netplan, multipass, Landscape, Subiquity,
lsb_release
, Ubuntu MATE, Wayland
Advertising: