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.
335 questions
1
vote
1
answer
58
views
Restricting wayland GUI applications from accessing all screen content
I'm using Debian/trixie (current stable) and heavily containerised projects / applications via LXC/incus into unprivileged containers; each having their own isolated UID/GID range.
Most of the ...
0
votes
1
answer
24
views
Cacti: works all but..no chars
I have installed cacti on Slackware 15.0 lxc container.
a) installing cacti ok
b) installing rrdtool ok
c) installing and configuring mariadb and httpd ok
d) running cacti setup ok, edited php.ini, ...
2
votes
1
answer
105
views
Debian Trixie, how to attach lxc-container using systemd mode?
I start my container using systemd (old method starting manually don't work with Debian 13) those two questions explain how
Why my lxc container stop when I close ssh session with host?
Debian Trixie: ...
0
votes
2
answers
82
views
why container process on Debian Trixie are not more visible from host?
On Old Debian 12, I can see container process using ps from root. On Debian 13 not, The situation:
On container
ps -ef|grep -i ora
oracle 230 1 0 Aug10 ? 00:00:00 /usr/lib/systemd/...
0
votes
1
answer
51
views
Why my lxc container stop when I close ssh session with host?
I have created this service to start lxc container.
#
# ~/.config/systemd/user/container.service
#
[Unit]
Description=lxc-autostart containers
DefaultDependencies=no
Wants=network.target lxc.service
[...
0
votes
1
answer
161
views
Debian Trixie: problems with Lxc unprivileged Containers
On Debian 12 bullseye all works fine.
This is the situation on Debian Trixie (released stable some days ago)
lxc-ls: ../src/lxc/utils.c: switch_to_ns: 900 Operation not permitted - Failed to set ...
2
votes
1
answer
197
views
Running docker in an unprivileged devuan lxc container (on proxmox)
I am configuring a single-node proxmox server for use as a home server/homelab. I am looking to run many of my generic applications (like immich, jellyfin, etc) in docker containers, which could all ...
0
votes
1
answer
61
views
Location of LXC user-owned containers
I am setting up some LXC containers as a normal user. I have followed all the steps in the manual for user-owned unprivileged containers, and the instances I created are running fine.
I used a ...
0
votes
0
answers
199
views
LXC Container on Proxmox Can’t Resolve DNS — Outbound UDP Works, But No Replies
I'm trying to configure a reverse proxy on an LXC Container in proxmox, however the container is not able to resolve DNS. The proxmox node has no issue with DNS, and both the node and the container ...
1
vote
3
answers
395
views
Alpine linux (LXC) not running cron jobs
I have been trying for a long to make the crontab entries to run, but it doesn't matter what Time / schedule I enter, it doesn't seem to work. I have confirmed my current time zone with date command &...
0
votes
0
answers
23
views
Lxc: how to set name of veth?
I have tried this for a lxc container
lxc.net.0.veth.pair = vethvlan2
but when container start it takes a random name
br1 ************ no enp7s0.1
...
0
votes
1
answer
159
views
Firewall in Bridged LXC Containers
I am new to networking, and I am trying to implement a firewall inside an LXC container (Alpine Linux) that is bridged with another LXC container (Alpine Linux) through a br0 interface.
Right now, my ...
1
vote
1
answer
59
views
disconnect packages managed by alpine apk but keep them on the system
I've installed nextcloud on proxmox in an alpine container using ttecks (rip!) helper script. After some tweaks, I am now able to update nextcloud from the application itself.
Now I have the following ...
0
votes
1
answer
480
views
Attach gdb from a docker container to a process running in a different PID namespace
I built a docker image with gcc binutils and gdb debugger installed inside.
I would attach gdb from that docker container to a process inside a lxc container running on the same Linux host. The lxc ...
1
vote
0
answers
172
views
Right way to recursively share a path (like a symlink) and proper way to unmount/remount without messing with other mount points
Bind mounts seem to be hard. I am looking for the right way to use a bind mount to mount a given directory to another one pretty much like a symlink (but I can't use a symlink because my application ...