lxc

  1. C

    After upgrade pve kernel 6.8.12-3,container with tun can't start

    use pct start 111 --debug find error here: INFO utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "sh -c "modprobe tun"" for container "111", config section "lxc" DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec sh -c "modprobe tun" 111 lxc autodev produced...
  2. P

    kernel: nfs: server X.X.X.243 not responding, timed out

    Hello everyone :), I’ve set up a Magento2 test environment using several LXC containers. The central component of this environment is a privileged LXC container that acts as an NFS storage server, providing images and other resources accessed by other containers. The setup and communication...
  3. S

    Display problems in Chromium Based Browsers

    Hey all, For the past year or so I've noted that the terminal in my LXC's is strange in Chromium based browers. I've tried a few and the display is inconsiddent at best. While I know I could just use SSH I prefer the browser's convieneince. Sometimes for example if I do and LS is will start...
  4. P

    kernel: nfs: server X.X.X.243 not responding, timed out

    Hallo zusammen :), ich habe mir eine Magento2-Testumgebung mit verschiedenen LXC-Containern eingerichtet. Der zentrale Punkt dieser Umgebung ist ein privilegierter LXC-Container, der als NFS-Storage fungiert und unter anderem Bilder bereitstellt, auf die andere Container zugreifen. Die...
  5. J

    Mounting disk to unprivileged container

    Sorry for what I'm sure is an exceedingly stupid question, but is this an insecure way to mount an external disk to an unprivileged container? I added this to /etc/fstab, the disk mounts at boot, and I have rwx permissions as the user with ID 101000 in the container: UUID=XXXX-XXXX /mnt/files...
  6. G

    Proxmox VE lose connection with NFS and everything stops working! Plz Help!!!

    Hi everyone! First time posting here because of a major problem during the last few days with IO delay and NFS mounted storage. I will try to take it from the top but im certain i will forget something so be kind and please ask me what info i forgot and i will try to post it ASAP. I am very new...
  7. J

    Get current disk size of LXC via API

    Hey everyone! I am trying to get the current disk size of a LXC with its rootfs on the local pool, ext4-based. Nothing tricky. This is on PVE 7.4. The command I am executing, from the node where the LXC is, is as follows: # pvesh get /nodes/proxmox6/lxc/109/config --output-format=json...
  8. B

    Radarr lxc "Unable to add root folder"

    Hello, I'm having some trouble adding a root folder to my Radarr lxc instance. Currently, I have a truenas instance running in its own VM with an NFS share called 'media'. In my proxmox host, I mounted the NFS share as 'truenas-media' and created a group 'media-group'. I gave 'media-group' (with...
  9. M

    Your experience with Docker in LXC

    Hello, I have a lot of Docker containers that I would like to run together in an LXC container or in a virtual machine under Proxmox. I would like to create the LXC container using the following command: pct create 100 local:vztmpl/ubuntu-24.04-standard_24.04-2_amd64.tar.zst --hostname test...
  10. M

    Firewall breaks macvlan enabled docker containers in LXC

    I have docker installed in a debian LXC container on my Proxmox host. I want to utilise Proxmox's firewall on that container to improve the security of my setup. Proxmox - 10.5.0.64 Unprivileged LXC - 10.5.0.66 Docker Container - 10.5.0.57 (macvlan bound to eth0) I have a container...
  11. M

    Ansible direct connection to containers using PVE as a proxy

    I'm using Ansible to connect to containers and VM's via SSH, but I'm wondering if there is a better way to do it using PVE as a proxy, given there are tools such as pct exec, pct enter, and pct console that allow Proxmox to send commands directly to the containers. This would allow to connect to...
  12. M

    python3-lxc and other lxc related packages conflicting with liblxc1

    In order to get Ansible lxc-container module to work on PVE, I'm trying to install python3-lxc, but it is conflicting with liblxc1. There are other reports of lxc related packages, such as lxc-templates, and others conflicting with the same library, but I could not find a solution. Am I missing...
  13. K

    LXC unprivileged nested=1 vs lxc.apparmor.profile unconfined what is more unsecure

    Hi, I run all my LXC container unprivileged. Now and then I have issues with systemd and/or logrotate and some more services not starting. I resolve the issues with lxc.apparmor.profile unconfined in the LXC conf file. But I could resolve it by setting nested=1 option in LXC conf file. So, what...
  14. S

    cant add changer - Tandberg T24 LTO6

    So i got my hands on a Autoloader, and want to store stuff on it ofcourse, The Autoloader is visible in Proxmox VE, gets a device path /dev/sch0, the tapedrive gets /dev/st0 i tried to get it running in the pbs lxc, but here the devices dont have a path. Got around that by specifying the paths...
  15. V

    IP filter list doesn't seem to get populated for containers

    Hello, so I have hit a bit of a problem with recently learned software defined networking I created DHCP zone and network by following tutorial from wiki (Setup Simple Zone With SNAT and DHCP) After that I changed network config of existing LXC containers to use newly created VNet with DHCP IP...
  16. D

    [SOLVED] sshd refuses to start on LXC Ubuntu 23.10 after updating openssh-server

    Hello, thought I'd post my findings as I have no clue whatsoever why this happened. I eventually found the solution through google and a bit of trial and error. Problem: After apt -y upgrade the systemd service sshd.service shows an error starting and sshd is non-functional. Manually running...
  17. P

    [SOLVED] Issues with Zigbee2MQTT LXC Container: "z2m: Error while starting zigbee-herdsman"

    Hi all, I'm hoping someone smarter than me can help. I've tried to set up Zigbee2MQTT using a script from here: https://tteck.github.io/Proxmox/#zigbee2mqtt-lxc. My zigbee dongle is the SONOFF Universal Zigbee 3.0 USB Dongle Plus Gateway with Antenna. I'm getting a Zigbee herdsman error when I...
  18. L

    [SOLVED] Quota issues on Privileged LXC Containers with Quota Enabled

    Hey, i installed Proxmox on a KVM Root Server, and since my hoster doesn't allow nested-virtualization, i am limited with using LXC Containers. I want to install Keyhelp on one of the lxc containers, and Keyhelp requires quota to be enabled and to work, in order for Keyhelp to work properly...
  19. M

    PCIe Coral (gasket-dkms) does not work

    I followed the steps here (similar to the ones on several Proxmox forums) and was able to get Coral mini PCie working. Couple of months ago I rebooted and it hasn't worked since. I have tried removing gasket-dkms, rebuilding, and reinstalling several times. I ordered a new Coral and tried with...
  20. T

    NFS backup errors only with LXCs

    Hello all, I get errors with PVE v7 & v8 when I use NFS (TrueNAS) to back up any LXC instances. I do not get errors with VMs. When I enable SMB shares on the same NFS sharepoint, LXCs will backup without error. Does anyone have any insight into this issue? ERROR: Backup of VM 303 failed -...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!