Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [multipass]

For questions relating to Canonical's Multipass - a virtualization platform for Ubuntu VMs.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Multipass VM accessing from local

I am running a flask app on my mac that needs to hit a salt api running on a multipass VM that has ubuntu installed. Curl call on the virtual machine is returning the output but if I try to access the ...
Mansi Seth's user avatar
-1 votes
2 answers
261 views

using multipass on macOS, mounted directory is seen empty

I started an ubuntu vm (named k3s) with multipass, I mount a local directory, with : multipass mount ~/Documents/odoo-saas k3s:~/k8S but when in the vm, the directory is seen empty, but if I create a ...
Alain Galdemas's user avatar
0 votes
0 answers
46 views

How can we do passthrough physical disk partition to multipass virtual machine?

I am setting up a Kubernetes cluster over multipass virtual machines for a test environment. We need access to raw harddisks within the virtual machines. How can we connect physical disk partitions to ...
Ashutosh Gupta's user avatar
0 votes
0 answers
30 views

How can we add a virtual drive to a multipass VM instance?

I am trying to add a virtual drive to a VM instance created by multipass. I am not able to find the command line options in multipass for doing the task.
Ashutosh Gupta's user avatar
0 votes
0 answers
77 views

What is recommended way to use ansible with multipass?

By default ansible works with VMs in a network. multipass networks returns me networks failed: The networks feature is not implemented on this backend. Probably switching to lxd backend would give me ...
dataved's user avatar
1 vote
0 answers
136 views

Multipass on a Mac mini M2 failing to launch - no IPV4 address set

I have multipass working well on my macbook air M1 - I installed it naively and I've had no problems. I also had it working well on my Mac mini M2 - in the same way. It has stopped working, and I've ...
Peter Brooks's user avatar
-1 votes
1 answer
78 views

multipass management tools?

Is there no utility by which the operator might find out how much disk is being used by a collection of multipass images? The only way I have been able to view anything is to look at multipass list -...
guitarpicva's user avatar
0 votes
0 answers
72 views

Fail install minikube

Getting the following error message, using Windows+VirtualBox C:\Users\x>multipass launch minikube --name minikube -vvvv [2023-10-25T11:08:20.164] [trace] [k8s1] Got VMState: running [2023-10-...
Juda Barnes's user avatar
0 votes
0 answers
111 views

Multipass with QEmu driver: how to access usb camera

on my Asus rog laptop with ubuntu 23.10 I installed the ROS (robot os) image from multipass, as explained in this official guide https://ubuntu.com//blog/ros-development-on-linux-windows-and-macos . I ...
AndrewBloom's user avatar
0 votes
1 answer
115 views

MULTIPASS_STORAGE instructions not working

I'm trying to free up space on my root drive on my ubuntu system. One thing that is consuming about 12G is multipass. I want to move it to the more spacious /home directory. So I followed the ...
Steven Schveighoffer's user avatar
-1 votes
1 answer
185 views

Repeated incorrect time in Multipass clients with Ubuntu 22.04

I am using Ubuntu 22.04 LTS and installed Multipass to quickly bootstrap small Ubuntu VMs for testing. However, these VMs consistently show a strong time drift, and do not sync with the host OS (which ...
Jens's user avatar
  • 179
0 votes
0 answers
107 views

How do I force a Multipass VM to refresh it's IP and obtain a completely new one

I need to force a multipass VM to change it's IP address. It can't use the same one as I'm trying to debug an issue where the IP changes. I have tried several things but none were successful. Any ...
hookenz's user avatar
  • 2,589
0 votes
0 answers
96 views

GLX on macOS using multipass and ubuntu as guest

I'm running macOS Ventura 13.5.1 with multipass 1.12.2+mac. I'm trying to run glxgears on a Ubuntu Focal guest under multipass. I've already activated indirect GLX on the XQuartz (2.8.1) using ...
Rodrigo Ventura's user avatar
1 vote
1 answer
932 views

How do I stop multipass from launching on startup?

I've installed multipass using this command: sudo snap install multipass Now, there's an ugly orange icon that displays in the system status area ("systray") of GNOME Shell in the top right ...
Flimm's user avatar
  • 42.2k
0 votes
0 answers
486 views

Problems with multipass VM after upgrade

I have just updated multipass to 1.12 on MacOS on my M2 macpro. And now my instances are in an unknown state. The local driver is qemu and these are the latest logs after a reboot and multipass start -...
Fabrex's user avatar
  • 1
0 votes
0 answers
43 views

Ubuntu Multipass snap instance has somebody's ssh key in authorized_keys file

I just discovered multipass today. In my first instance (nextcloud), on a local machine I was suprised to find a key for ubuntu@localhost in /writeable/user-something/ubuntu/.ssh/authorized_keys. Is ...
KahnD's user avatar
  • 11
0 votes
0 answers
303 views

Can not start a instance in multipass

When I install multipass at macos 13.2.1, and then exec multipass launch to create and start a instance.I get a error: launch failed: The following errors occurred: Instance stopped while starting. ...
tzzz z's user avatar
  • 1
0 votes
1 answer
133 views

Ubuntu multipass - VMM

How to show Ubuntu miltipass machines in Virtual Machine Manager?
grek's user avatar
  • 3
3 votes
1 answer
619 views

Ubuntu Multipass Cloud-init SSH Issue: Retaining 'ubuntu' User's SSH Key While Injecting My Own

I am trying to create a cloud-init configuration file to inject my own SSH keys into the "ubuntu" user for a Multipass instance. I have managed to successfully inject my SSH key when I ...
vmvart's user avatar
  • 33
1 vote
1 answer
857 views

launch failed: Remote "snapcraft" is unknown or unreachable - multipass returned exit code 2

I was learning how to create snaps by following tutorial on Ubuntu's website. The first three steps went great but just as I was going to get to the forth I needed to go somewhere. The next day I'm ...
Dawid Laszuk's user avatar
0 votes
1 answer
150 views

Can't set UserDir to ~/Home/public_html in Multipass on MacOS host

I'm on MacOS host, running a Multipass instance which I'm using as a LAMP server. Multipass maps ~/Home directory to the MacOS user directory and inside that directory I wanna have the public_html ...
KristijanZic's user avatar
2 votes
1 answer
479 views

How to create a Multipass instance with custom installed softwares and share it with others

I would like my students to use a specific version of Ubuntu with custom-installed software (ROS and Gazebo, software for robotic applications). In addition, my students might be running Windows, Mac ...
Marca85's user avatar
  • 21
0 votes
2 answers
249 views

Kinetic kudu image does not appear in Multipass find

When I run multipass launch kinetic --name primary --cpus 2 --mem 2G --disk 30G it throws warning: "--mem" long option will be deprecated in favour of "--memory" in a future ...
Rishon_JR's user avatar
  • 1,017
0 votes
1 answer
612 views

Unable to start a multipass instance: Failed start validation for device "eth0": Instance DNS name "currentlts" already used on network

I am running Ubuntu 22.04 on a laptop (x86_64) and on it I have seven Ubuntu 22.04 instances. They have all been running fine; six still are. However, one of them does not start any more. When I issue:...
PeterKA's user avatar
  • 113
0 votes
0 answers
298 views

use existing multipass image

I migrated my files from my old x86 Macbook Pro to my dazzling M1 Mac. I did not migrate any applications, because I don't want to use the Rosetta technology to run x86 binaries in emulation. I ...
James K. Lowden's user avatar
1 vote
1 answer
646 views

TLS Negotiation fails from Multipass VM but succeeds from host machine (or other machines on network)

Summary Running curl -sfL https://github.com/k3s-io/k3s/releases/download/v1.25.4+k3s1/sha256sum-amd64.txt from a Multipass VM appears to result in a hung TLS negotiation, as there is no (IN), TLS ...
scubbo's user avatar
  • 133
0 votes
0 answers
266 views

Multipass VM size on disk too large

I have a multipass VM for running Kubernetes. Some Kubernetes workloads took up a lot of space in the VM. I have cleared that space within the VM now but on the host machine the space occupied on the ...
Dojo's user avatar
  • 103
0 votes
1 answer
484 views

Expose ipv6 to virtual machine

I have a root server with a single ipv4 address and a /64 ipv6 address range. On the server I have created a virtual machine (with multipass) for running a web server. For that I have created a rule ...
topskip's user avatar
  • 189
0 votes
1 answer
350 views

IPv6 not working on VMs created using multipass

Commands issued on the VM: $ ping -6 api6.ipify.org ping: connect: Network is unreachable $ ifconfig ens3 ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.140.84.221 ...
Dojo's user avatar
  • 103
0 votes
1 answer
154 views

Setting cpu affinity for multipass

I use multipass via snapcraft. With the environment variable SNAPCRAFT_BUILD_ENVIRONMENT_CPU=12 I control how many cpus will be used by the VM. However, I would like to set the affinity for the VM ...
Bram's user avatar
  • 2,561
1 vote
1 answer
111 views

Number of cores used by snapcraft when building snap

I am using snapcraft to build chromium. I see that it creates a VM with Multipass. $ snapcraft Support for 'multipass' needs to be set up. Would you like to do it now? [y/N]: Y ... multipass 1.10.1 ...
Bram's user avatar
  • 2,561
0 votes
0 answers
230 views

How do I install software/tools in an ubuntu virtual machine using a terminal?

I'm studying comp-sci but haven't been able to figure out how to install stuff in my ubuntu vm. I'm using Windows 10 with an ubuntu vm downloaded through Multipass with VSC as the intended editor. ...
Minimunk7's user avatar
1 vote
2 answers
5k views

How to bridge local LAN using Multipass

Looking for some assistance in trying to get the network bridging to work (consistently/more than once) when creating VMs with Multipass. I have tried so many things with the documentation I've found,...
Bob Boursaw's user avatar
1 vote
0 answers
297 views

Create multipass VM with IP of local network

There seems to be significant amounts of info on configuring the network interfaces within multipass, but I am struggling to figure out what is likely quite easy? My local network is 192.168.1.0/24 ...
Bob Boursaw's user avatar
1 vote
1 answer
2k views

How to modify the existing multipass instance configuration?

I have created the multipass instance with 4GB Ram and 1 CPU. I want upgrade instance to 6GB + 2 CPUS. How can I achieve this task?
Vibhu Bajaj's user avatar
1 vote
0 answers
2k views

Using RDP to connect to an Ubuntu 22.04 multipass desktop VM with Wayland

I currently have a multipass VM setup for Ubuntu 22.04 LTS with desktop installed. I'm accessing this right now via xrdp and Microsoft-Remote-Desktop client on macOS M1. I would like to access this ...
d.moncada's user avatar
  • 111
0 votes
0 answers
37 views

Migrate PostgreSQL DB from Multipass to Cloud?

I have a PostgreSQL database running on Ubuntu in a Canonical Multipass instance on MacOS. I'd like to migrate its data to a cloud DB (Digital Ocean in this case). Is it possible to publicly expose ...
Milo Persic's user avatar
0 votes
0 answers
328 views

Ubuntu via Multipass on a Mac (M1 max): connection reset by peer

I am playing around with something at the moment which is optimised to work with Ubuntu. I got myself Multipass to run Ubuntu shell, all works etc etc. Except, cloned the repo, and when I run "...
soundcake's user avatar
-1 votes
2 answers
2k views

Multipass: How do you select a different image than the default?

I'm trying to setup a VM using Multipass, and I want to select the "docker" image instead of the default. I've seen the documentation at https://multipass.run/docs/launch-command, which at ...
nHaskins's user avatar
0 votes
1 answer
675 views

How do I undo, what multipass did to my networking device

I ran the following command trying to be able to access the multipass vms from outside the host computer. multipass launch --network name=enp8s0,mode=auto This is now the output from "multipass ...
user109532's user avatar
2 votes
0 answers
1k views

Multipass bridged network not accepting connections from internet

I have a Ubuntu 20.04.3 LTS VM in Multipass running which I want to expose to the internet via router port forwarding. The VM is using bridged network mode. If I run nc -l -p 8080 in the VM and listen ...
Justin Oroz's user avatar
0 votes
1 answer
614 views

Set up DHCP client in Multipass VM

I have created a new VM with multipass via: multipass launch --network en1 -c 2 -d 100G -m 16GB -n microk8s-vm On my router I have set a DHCP reservation, and ip a s enp0s8 confirms the correct ...
Justin Oroz's user avatar
2 votes
0 answers
887 views

How to fix ssh: connect to host xxx.xxx.xx.x port 22: Operation timed out

I am new to running ubuntu so not sure what I am missing here on My Old macbook pro (ubuntu server running): -I installed ubuntu multipass -created an ubuntu instance -with multipass list command I ...
Raed Tulefat's user avatar
0 votes
2 answers
874 views

multipass cloud-init command line doesn't find yaml file

This seems like a pretty silly question as it's too simple. but Just getting feet wet with multipass, so one of the first things I try is using a cloud init file. But multipass reports error: No such ...
DKebler's user avatar
  • 153
1 vote
0 answers
3k views

How do I connect from my multipass guest OS to my host OS's localhost

I have two websites running locally on my system which need to access each other. One is within a multipass vm, and the other is in docker and accessible via localhost in my host OS. In the site in ...
Neil Haskins's user avatar
0 votes
0 answers
410 views

I am unable to upgrade my mac M1 multipass instance running Focal. Somehow it wants to install a kernel from Xenial

I am unable to upgrade my mac M1 multipass instance. Looks like it can no longer find the sources: Failed to fetch http://mirrors.edge.kernel.org/ubuntu/dists/xenial/main/binary-arm64/by-hash/SHA256/...
Jonathan Wilson's user avatar
1 vote
0 answers
2k views

How to configure proxy in multipass virtual machine

My host computer (macOS Monterey M1) needs to connect through a proxy, which I can configure by setting the address as an environment variable (among other places): export https_proxy=http://.../ ...
rjcarr's user avatar
  • 161
1 vote
3 answers
2k views

Can't find Multipass Ubuntu files on Mac M1 Finder

I'm running macOS 11.2.1 on a Mini M1 with one internal and two external drives. Using multipass 1.8.1+mac to create an Ubuntu 20.04.3 LTS instance in terminal. Once in terminal, I can find the 3rd ...
Brian Garr's user avatar
0 votes
2 answers
1k views

Manually download multipass VM images

Not sure if multipass run VMs locally or in the cloud, but if it is running locally is must download e.g. qemu2 images first. Can one download these image manually? Is there a simple URL to e.g. ...
MrCalvin's user avatar
  • 413
0 votes
1 answer
452 views

Details of multipass instance

"The multipass launch command without any argument will create and start a new instance" Not clear to me what is actually happening with this.  Is it running Ubuntu on another computer, x11/...
WGroleau's user avatar
  • 145