Questions tagged [multipass]
For questions relating to Canonical's Multipass - a virtualization platform for Ubuntu VMs.
84
questions
0
votes
0
answers
76
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.
...
0
votes
0
answers
22
views
Multpass docker how auto mount pernament
i create machine
multipass launch docker --name=test -vvv
see folder in host
/home/user/multipass/test/
is mounted to /home/ubuntu/test in machine.
-great but restart ...
and is not still connected.
...
0
votes
1
answer
36
views
Ubuntu multipass - VMM
How to show Ubuntu miltipass machines in Virtual Machine Manager?
2
votes
1
answer
87
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 ...
1
vote
1
answer
169
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 ...
0
votes
0
answers
42
views
Troubles getting docker to run on a multipass instance
I have been struggling to get docker to run properly using a multipass instance with bridged networking. I keep running into troubles with the docker0 network being down and I cannot seem to get it ...
0
votes
1
answer
92
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 ...
1
vote
1
answer
149
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 ...
0
votes
2
answers
82
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 ...
0
votes
1
answer
238
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:...
0
votes
0
answers
107
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 ...
0
votes
0
answers
285
views
multipass/snapcraft: "instance does not exist" and Remote "" is unknown or unreachable
On a freshly installed Ubuntu Desktop I cannot build with snapcraft:
foo@bar:~/src/3rd-party/iot-example-graphical-snap$ snapcraft
Launching a VM.
Build environment is in unknown state, cleaning first....
0
votes
0
answers
32
views
multipass affecting host onboard chips after screensaver/wake up from sleep mode (Windows 10, Dell Hardware)
I'm trying to find a solution to fix the persistent issue with multipass causing a Windows host chipset hardware to stop working after a screen lock or wake up from sleep. (Lower down actions I took ...
1
vote
1
answer
334
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 ...
0
votes
0
answers
60
views
Multipass Bluetooth Connection on MacOS
I'm running a multipass VM on a Macbook Pro (model 17,1 if it helps), and want to communicate with a bluetooth device from within the VM. However, when I go into the ubuntu settings for the VM, it ...
0
votes
0
answers
84
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 ...
0
votes
1
answer
171
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 ...
0
votes
0
answers
217
views
multipass - read only filesystem when attaching to docker overlay network
new to Multipass. I've created a couple of nodes and am trying to create a docker service using a network also of my own creation. Steps:
#docker network create --driver overlay my_network
#docker ...
0
votes
1
answer
161
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 ...
0
votes
0
answers
67
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 ...
0
votes
0
answers
76
views
Multipass instances are not found after shutdown
I just realized that I lost all of my instances after shutdown both of my instances and host yesterday (using sudo shutdown -r now on both).
bagus@m049:~$ multipass ls
No instances found.
The host is ...
1
vote
1
answer
42
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 ...
0
votes
0
answers
120
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. ...
0
votes
1
answer
1k
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,...
0
votes
0
answers
147
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 ...
1
vote
1
answer
718
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?
1
vote
0
answers
1k
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 ...
0
votes
0
answers
72
views
is it possible to mount a mutlipass image outside of the multipass/qemu tool?
a little background, I'd been using multipass via macos on a m1 chip, had a nice little vm that I used to store some thing. everything seemed fine, did an upgrade on multipass and now my VM with ...
0
votes
0
answers
30
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 ...
0
votes
0
answers
204
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 "...
0
votes
0
answers
94
views
Multipass + microk8s + pgadmin4
How can I connect a host-based pgadmin4 to postgres database on microk8s on multipass?
-1
votes
2
answers
1k
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 ...
0
votes
1
answer
344
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 ...
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 ...
0
votes
1
answer
400
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 ...
1
vote
0
answers
611
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 ...
0
votes
2
answers
568
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 ...
0
votes
0
answers
1k
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 ...
0
votes
0
answers
295
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/...
1
vote
0
answers
1k
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://.../
...
1
vote
3
answers
1k
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 ...
0
votes
2
answers
790
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. ...
0
votes
1
answer
294
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/...
0
votes
1
answer
1k
views
multipass mount options
When mounting a local directory inside a multipass instance...
flydutch@led:~$ multipass mount /media/TEST multipass-test:/opt/TEST
...it is mounted with nodev flag:
ubuntu@multipass-test:~$ mount
......
10
votes
2
answers
4k
views
How to spin a x86_64 ubuntu on Apple M1 with Multipass
I have an Apple M1 processor (ARM64). Is there any way to spin a x86_64 machine? By default Multipass 1.8.0 is launching ARM64 Ubuntu instances.
0
votes
1
answer
543
views
Trouble completing snapcraft tutorial on Ubuntu 20.04, Raspberry Pi 4
I am trying to package my first snap with the ultimate goal of deploying an app on Ubuntu Core 20. I am new to snapcraft and multipass, so I'm following the "Create Your First Snap" tutorial ...
0
votes
1
answer
130
views
Multiple volume device on Ubuntu Multipass
I am using Ubuntu Multipass and would like to launch an instance with an additional volume device e.g. /dev/sdb and /dev/sdc since sad already exist with a partition.
I would also like to know how to ...
0
votes
0
answers
366
views
multipass ssh port definition on creation of vm
Is there a way to define the port that ssh is forwarded from guest machine? Right now it a randomly port is picked on the host machine.
1
vote
0
answers
697
views
Error while running multipass launch
I'm new to ubuntu. I want to lunch multipass but it gives low disk space error. I have enough space in my hard disk. Thank you
Error message : launch failed: Available disk (541548544 bytes) below ...
2
votes
1
answer
4k
views
How multipassd should be restarted to get multipass commands fuctional again?
Currently I can't run multipass shell, it shows the following in the terminal:
$ multipass shell ubuntu-test
shell failed: cannot connect to the multipass socket
Please ensure multipassd is running ...