lxc

  1. K

    Bug? no swap in restored LXC Debian

    I restored a Debian LXC with xorg from a Qotom firewall appliance to a Beelink EQR6 mini-pc, and the original has swap while the restored LXC does not. Have tried resizing swap in PVE GUI and with ' pct set 101 --swap 384 ' and the like, and the container still has 0 swap Beelink PVE 8.3.1...
  2. P

    Concurrent cloning from LXC template using terraform provider

    Hi all, I am trying to clone multiple instance of one of my LXC templates using Terraform (Telmate Provider) (as I am always doing with VMs) but with the containers, I am getting this lock issue as PVE is not capable to clone multiple containers from the same template at once. It throws the...
  3. P

    LXC starten nichtmehr nach Stromausfall

    Guten Morgen, nach einem Stromausfall konnte erst der gesamte Host nicht starten, "failed to initalize Ramdisk". Nach einigen Reboots startete das System aber wieder. Jetzt ist es so, dass die eine VM auf dem Host normal gestartet ist, die LXC Container aber leider nicht. Ich habe per SSH...
  4. T

    Jellyfin + HW transcoding with Intel's QSV + unprivileged LXC

    Hello I wondered if anybody had the same problem as me. The problem I have is a blank green screen when streaming on a device that requires transcoding. Everything works and checks out like it says in the Jellyfin documentation, but I only get a blank green screen and only hear the audio. I...
  5. P

    I/O errors in LXC containers on ZFS. Backups fail, requiring restore.

    I've been chasing a ghost since upgrading to proxmox 8.3 (correlation is not causation, so I can't point to 8.3 just yet). Random LXC containers start to exhibit i/o errors. This is only "noticed" when a nightly backup runs as it then errors, but fails on those specific LXC's. The storage is...
  6. T

    [SOLVED] Firewall rules for Samba (mDNS) Service Discovery for Apple devices

    Hello everyone, I'm having issues with service discovery, after enabling firewall on my LXC (smb with configuration for time machine*). Everything else is working, aside from the server discovery after enabling firewall on the lxc. Service discovery works again, after disabling the firewall on...
  7. M

    LXC Debian vs Ubuntu

    I most often use LXC containers on my Proxmox home server and wondered which of the Debian or Ubuntu operating systems is best suited for this? Which of these operating systems in the LXC container is more productive or stable? Are there any significant differences for simple tasks, like a home...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...