Questions tagged [lxd]
LXD is built around a very powerful, yet pretty simple, REST API. Under the hood, LXD uses LXC. If your question is about LXD, e.g.: is using the "lxc" command only available in LXD, you should use the tag LXD instead (or in addition) of LXC.
55 questions
-1
votes
1
answer
36
views
Ansible, lxd error when installing XRoad: Attribute Error: NoneType has no attribute "items" lead to lxd_container.py
I was trying to install XRoad using ansible and LXD with these steps:
Sudo snap install lxd
lxd init
$ sudo apt update $ sudo apt install software-properties-common $ sudo add-apt-repository --yes --...
0
votes
1
answer
392
views
Incus - Setting migration.stateful for stateful snapshots
I'm trying to get to grips with Incus, because it looks like it is a fork of Canonical's LXD, which I can run fairly easily on Debian 12 with a deb package, rather than using snaps.
I have it all set ...
1
vote
0
answers
193
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 ...
1
vote
2
answers
2k
views
LXD ZFS storage pool on lvm filesystem?
The default filesystem of my machine is lvm (Ubuntu 22.04). I would like to spin up LXD/LXC virtual machines to run some Apache projects like Hadoop and Spark. When setting up Hadoop there is a step ...
1
vote
3
answers
8k
views
What is the ID of nobody user and nogroup group?
When trying LXD, I tried to share a folder from my computer with the LXC Container, but I could not write in the folder in the container because ls -l shows that it belongs to user nobody and group ...
3
votes
4
answers
1k
views
Persist resolvectl changes across reboots
I'm using LXC containers, and resolving CONTAINERNAME.lxd to the IP of the specified container, using:
sudo resolvectl dns lxdbr0 $bridge_ip
sudo resolvectl domain lxdbr0 '~lxd'
This works great! But ...
0
votes
1
answer
1k
views
How can I monitor individual containers resource usage in LXD/C
I would like to be able to view which individual containers are using what percentage of CPU, memory etc.
I have installed HTOP but it doesn't tell me which container, and I have 20+ containers ...
1
vote
1
answer
138
views
Route trafic to bridged network
I have a server running with multiple services running inside each of their own LXD container. All containers uses a bridged network. For now I am routing everything through the servers main ip ...
0
votes
1
answer
2k
views
Docker on Debian Failing to Bind to Port 80
I am running Docker on Debian 11. I deploy an Nginx container and it fails to bind to port 80 even though port 80 is not in use by any other process. I even tried running Docker as root.
Here's the ...
1
vote
0
answers
199
views
Prevent network namespaces / lxd-bridges from talking to each other, but keep internet access?
Following goal:
I have lxd containers
each set of containers should have their dedicated isolated network
each should still be able to connect to the internet (e.g. apt update or curl), but not leak ...
1
vote
1
answer
215
views
Is it possible to use a file as Filesystem?
Here is the origin of my question:
I'm running Linux containers with LXD snap version at Ubuntu 22.04 on a VPS. The root file system of the VPS is Ext4 and there is not additional storage attached. ...
0
votes
1
answer
1k
views
Connection refused between 2 linux containers
On my host Ubuntu 18.04 I am running two lxc containers using default setups. Containers use Ubuntu 18.04 as well. I have an app running on container1 that offers an https based service on https://...
1
vote
1
answer
5k
views
How can I display a GUI LXC container on a physically connected display without a window manager?
I want to have a setup where I have LXC OS containers that start full-screen on particular displays. As an intermediate step, I am trying to get X apps from the container to display via host X.
I have ...
0
votes
1
answer
757
views
Install browser inside LXD container and run it on host OS
I am trying to install Brave browser inside an LXD container (Voidlinux - preferably, or linuxMint), create a shortcut for that app inside my host OS and launch it as any other linux app with the ...
1
vote
0
answers
500
views
Linux on chromeos encountering many errors:58:51
OK This is a complex maze of error messages so bear with me.
When I try to open or doing anything with Linux I get
[=======/ ] Starting the Linux container Error starting penguin container: 58
...