Skip to main content

Questions tagged [lxc]

Linux Containers (LXC) is a userspace interface for operating system-level virtualization features in the mainline Linux kernel, such as kernel namespaces and control groups (cgroups). These allow multiple distinct user space instances to be run on a single kernel. Note: the 3 letters "lxc" command is part of LXD, not LXC. Please use the LXD tag if your question is about LXD rather than only about LXC.

0 votes
0 answers
37 views

How to share a GPU with LXC?

I have some GNOME wayland Linux installs in KVM using virt-manager with spicevmc on Debian 12 that are performant with default settings. I added a LXC instance to virt-manager. How can I get a spice, ...
user1133275's user avatar
  • 5,566
0 votes
0 answers
19 views

How to start one Linux container from another?

On Chromebook Crostini Linux I can (via .ssh/authorized_keys) stop one container from another, jidanni@n1:~$ ssh n2 sudo shutdown -h now But starting it requires crosh> vmc start termina (termina)...
Dan Jacobson's user avatar
0 votes
0 answers
43 views

Prevent OOM killer inside guest in LXC

I have a python program myprogram.py. I realized that my python program is being killed due to Out Of Memory (OOM). But, I noticed also that my VPS is inside LXC and has swap 1GB, when the memory full ...
Muhammad Ikhwan Perwira's user avatar
0 votes
0 answers
35 views

External usb SSD Restic/Backrest backup automation

I've a zimaboard micro server with proxmox and a debian 10 CT that is delegate for backup system (Restic/Backrest) with an external usb ssd always attached. It is possible to pilote the external usb ...
Alessandro's user avatar
0 votes
1 answer
86 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 ...
Programster's user avatar
  • 2,279
2 votes
1 answer
42 views

Why does "pgrep -O 600" fail in an LXC? procps bug?

Debian 12.2 in an unpriviledged LXC (proxmox). It's almost 11:45 AM local time. At 5:00 AM in the morning, cron started a script: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...
Jan's user avatar
  • 7,782
0 votes
0 answers
157 views

Waydroid installation break config

I have followed the install instructions here : https://docs.waydro.id/usage/install-on-desktops. I use Debian 12 with Gnome 43.6 and X11 on Dell inspiron 15 laptop. After installation I figured out ...
larum's user avatar
  • 1
0 votes
1 answer
852 views

Obtain a Wordpress Website with a Proxmox container available from outside with https (ssl encryption)

My prelimanary actions: setting up a ddns hostname with noip service (ok) configured to automatically keep alive the association on my home router(ok) installed a proxmox server v8 (ok) create a lxc ...
Alessandro's user avatar
1 vote
0 answers
213 views

How can I import lxc containers back from the snapshots the lxc create just before the `lxc snap` is removed?

I have the following situation: I have an Ubuntu 22.04 node, which used to have lxd v5 installed through snap. It used to have 3 containers, at the moment of remove the lxd using the snap remove lxd ...
k.Cyborg's user avatar
  • 507
1 vote
1 answer
113 views

Remote SMTP traffic appears to come from LXC Host to container

Summary: I have a mail server (exim 4, Debian 10) in an LXC container. The host is running Debian 11. Since yesterday evening spam traffic has been coming in that appears to come from the LXC Host. ...
Lennart's user avatar
  • 13
3 votes
0 answers
636 views

udev inside lxc container

I am running a privileged Debian LXC Container on Proxmox, and then running Docker inside that. I am attempting to run an Xserver in a Docker container with Sunshine to stream to a Moonlight client. I ...
Dennis George's user avatar
9 votes
1 answer
2k views

"Error: Too many open files" while starting service in environment with several LXCs

Environment: I am using a CentOS-7 as a hypervisor for running several LXCs under libvirt. Each container runs a minimal installation of CentOS-7 with cut down FreePBX (Asterisk, Apache, MySQL + bits)....
AnyDev's user avatar
  • 749
0 votes
0 answers
198 views

Configure IPv6 DNS server via DHCP in LXC container

I have an LXC container created and started as follows: sudo lxc-create -t debian -n mylxc -- --release bullseye sudo lxc-start -n mylxc sudo lxc-attach -n mylxc On the LXC host I have a DHCP server ...
carlfriedrich's user avatar
1 vote
2 answers
1k 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 ...
Mnemosyne's user avatar
  • 161
0 votes
1 answer
2k views

How to SSH to a host and attach an LXC container in one command, properly?

I'd like to connect to a LXC container through Proxmox via SSH without having SSH access to the container itself, so I can get the desired outcome by connecting to the Proxmox host first and then ...
Martin Braun's user avatar

15 30 50 per page
1
2 3 4 5
22