lxc

  1. P

    LXC container has no IP - missing dhclient causes ifupdown2 call to fail during start

    I'm having an interesting problem where one of my LXC has no IP when it starts. The container in question is the proxmox backup server lxc which I'm creating using the community script with default settings. All my other containers and VMs are fine. All my containers use DHCP, and i use the...
  2. S

    LXC Fails to start when using read-only Mountpoint

    I have a Mountpoint /tools_nfs that is mounted read-only on most of my Systems, and I want to be able to pass it to each Container. It used to work OK until now. I suspect one of the last System Updates messed it up :( . Attached is the Debug Log obtained by lxc-start -F --logpriority=DEBUG...
  3. S

    Starting LXC Container with bind mount changes the owner of that mount on the filesystem

    Hello all, I have the following configuration (and similar like it) for a lot of my LXC containers: ./209.conf:mp0: /mnt/glusterfs/hub-volume/andrewcz-org/firefly-importer_uploads,mp=/var/lib/firefly-importer/data/storage/uploads ./209.conf:mp1...
  4. T

    [SOLVED] Is the Unmanaged OS Type for LXC Not Supported on PVE9 Anymore?

    Hello everyone, After upgrading to Proxmox VE 9, I’m experiencing some issues with my LXC containers, specifically with OpenWRT. My OpenWRT LXC container no longer starts, and I’m unable to create a new one with the same "unmanaged" OS type as I did on PVE 8. Has anyone else encountered this...
  5. D

    [SOLVED] Wireguard and DNS within LXC Container

    Hey everyone, I've been trying to figure this out for the better part of the day. I've got a commercial VPN subscription and I want to have my containers send their traffic through wireguard which I've set up on the host. I get an error when running wg-quick up wg0: Truth be told, I don't know...
  6. Z

    pve-container 6.1.0 startup for scratch container failed

    oci: docker.io/kanidm/server:1.8.5 pct start 1003 --debug run_buffer: 571 Script exited with status 255 lxc_init: 845 Failed to run lxc.hook.pre-start for container "1003" __lxc_start: 2046 Failed to initialize container "1003" ook" for container "1003", config section "lxc" DEBUG utils -...
  7. P

    Mount Permissions

    Hello kind community, I have been trying to setup a mount point for an unprivileged LXC container. Here is my configuration : /etc/subgid root:1001:1 root@proxmox:~# ls -lrt /mnt/ total 8 drwxrwxrwx 8 1001 101001 4096 Feb 1 18:11 downloads root@proxmox:~# ls -lrt /mnt/ total 8...
  8. S

    LXC - Remount mountpoint without rebooting Container

    I have a use-case where I have some Host Folders that is actually an NFS Mount (could also be CIFS/SSHFS/...). I then bind-mount (bind or rbind) inside the LXC Container in the Form of lxc.mount.entry: /mnt/<container_name> data/ none rbind,create=dir 0 0 I devised my own little Script (NOT...
  9. U

    Can't right-click in LXC console

    Hello, just wondering how to right-click in the console of an LXC. I used a helper script to install it, and other containers and VMs work fine wrt right-clicking. Any help would be appreciated.
  10. R

    VM möchte nicht Booten (Code 0005)

    Ich bin noch Anfänger in Proxmox. Ich habe versucht, drei VMs zu erstellen, nach dieser Anleitung: https://www.ionos.de/digitalguide/server/konfiguration/kubernetes-cluster-auf-proxmox/ Ich möchte später darauf k3s installieren. Leider klappt bei mir nicht das Booten des Systems. Ich habe die...
  11. M

    bindmount ZFS dataset and children to unprivileged LXC

    On my host I have a ZFS dataset looking like this: NAME MOUNTPOINT Data /Data Data/Nas /Data/Nas Data/Nas/Documents /Data/Nas/Documents Data/Nas/Photos /Data/Nas/Photos I have a LXC...
  12. F

    UID/GID mapping breaking in-container UID/GIDS?

    hi all, i am migrating to jellyfin as a kodi replacement, and for this i intended to use the following setup: a jellyfin LXC backend (naturally), installed via community scripts a "NAS" container to manage my files via web / SMB / ... ... both accessing the same files on the host via bind...
  13. B

    No internet in VMs or LXC containers.

    I have a Dell Optiplex 3020 proxmox server with VMs and LXC containers. Some LXC containers have network connectivity without issue but when I create new containers they cannot reach my network or the internet. That happends wether IP is static or DHCP. Working internet and network...
  14. Z

    Creation of LXC via API (CEPH) without precreating vm storage

    I want to create a LXC or VM via API. Currently working on LXC. BUT I noticed first of all the api doc is plain... bad imo . Anyways. I NEED to add a rootfs for lxc because ofc I do?! And I am using CEPH for my cluster. So I want to create for example a disk of 1G on Ceph Storage CL1. Can I do...
  15. B

    LXC config problem after core reboot

    Hi everyone, I have an LXC with the following configuration: arch: amd64 cores: 8 features: nesting=1 hostname: Jellyfin memory: 8000 mp0: Movies:114/vm-114-disk-0.raw,mp=/mnt/movies,backup=1,size=1000G net0...
  16. D

    LXC Memory Usage Deb13 PVE9.x

    I'm going to preface this with this worked in Deb12 / PVE8.x. My application use case ingests a large file, decompiles it, moves on. I'm using two mountpoints other than the boot disk. mp0 is a small temp rbd stored on fast disks. mp1 is a shared mount point on cephfs. The files being...
  17. C

    Container with mp0 configuration won't start via GUI, OK via `lxc-start`

    I've followed the Mounting NFS share to an unprivileged LXC tutorial to mount a NFS share in a container. The mount on Proxmox node works (I can read/write /mnt/nfsshare) but as soon as I add the mp0: /mnt/nfsshare/,mp=/foo line to the LXC configuration file (/etc/pve/lxc/100.conf) the...
  18. W

    Troubleshooting - LXC TTY Terminal Login Prompt Shows Gibberish

    Hello Proxmox Community, I have encountered a weird issue that has been present for a while. The issue does not affect the usability of the LXC it is a mere annoyance. It happened when I upgraded from Fedora 42 within an LXC to Fedora 43 within an LXC. Since this has not hindered/impacted the...
  19. S

    SSH failing to start at Boot Time of Fedora LXC Container

    There seems to be some Issue for a Fedora LXC Container. Specifically, SSH fails to start (as confirmed by ss -nlt) since nothing is listening on Port 22 after Boot. It seems that there is something related to sshd-keygen.target when used in an LXC Container. Disabling...
  20. Z

    Feature Request: API endpoint to change LXC container root password

    Hello, there is currently no API endpoint to change the root password of an existing LXC container. Current situation: When creating an LXC container via POST /nodes/{node}/lxc, the password parameter works as expected. For KVM/QEMU guests, password changes are possible via the Guest Agent...