lxc

  1. lxc.idmap - home directory nobody nogroup

    Howdy... I just added a disk to proxmox host, making it available to a container through the following configuration (precisely through the 6 lxc.idmap lines): arch: amd64 cores: 2 features: nesting=1 hostname: nxt memory: 8192 mp0: /media/hdd,mp=/media/nasdisk net0...
  2. LXC Startbedingung

    Hi, gibt es eine Möglichkeit einem LXC Container eine Startbedingung zu geben? Zum Beispiel ein Skript das eine Bedingung prüft und dann mit exit 0 oder 1 beendet wird? Hintergrund ist folgender, der Fileserver soll nicht starten wenn der Domaincontroller noch nicht läuft, oder ein...
  3. Can QEMU-KVM execute in LXC on PVE?

    For a project, I need to run testing in QEMU with an emulation device. Our CI/CD environment is based on awesome PVE, if possible I'd like to integrate this testing into the current environment too. So I need to execute QEMU/KVM in an LXC on PVE, but I ran into a problem. The QEMU showed: ```...
  4. LVM freie Festplattengröße Falsch

    Guten Morgen, ich habe eine LVM Festplatte zur hälfte an einen LXC Container durchgereicht. (Nextcloud). Nach einen Restore des LXC wird mir die Festplatte in Proxmox als "komplett Verfügbar" angezeigt. Also so, als wenn diese gar nicht durchgereicht wurde. In den Containereinstellungen von...
  5. LVM Festplatte -Problem-

    Guten Morgen, ich habe eine LVM Festplatte zur hälfte an einen LXC Container durchgereicht. (Nextcloud). Nach einen Restore des LXC wird mir die Festplatte in Proxmox als "komplett Verfügbar" angezeigt. Also so, als wenn diese gar nicht durchgereicht wurde. In den Containereinstellungen von...
  6. Proxmox hinter Proxy .. Proxy an LXC durchreichen

    Hallo, ich habe zum testen auf der Firma einen Proxmox installiert. Wir haben keinen direkten Internetzugang, sondern nur über einen Proxy mit Authentication. Im PVE habe ich unter Optionen den Proxy eingetragen (http://username:password@proxy:port) das klappt auch, er bekommt seine...
  7. [SOLVED] fresh Ubuntu template 20.04 LXC - too many levels of symbolic links

    Hi! I just started a new container with ubuntu template 20.04 My typical practice is to apt update and apt upgrade. This causes an error is the package libpam-runtime, saying it has too many levels of symbolic links. Specifically unable to open '/usr/share/man/man7/PAM.7.gz.dpkg-new': Too many...
  8. LXC Gentoo container

    Hi all, I have a question about the current available LXC container template for Gentoo. The container is based on the 'init.d' system where I rather want to use 'systemd', also is the container slightly outdated (march-2020). Is there a build script or method to build a 'fresh' gentoo LXC...
  9. [SOLVED] safe_mount: 1200 Invalid argument

    Running proxmox 7.1-8, Last night all my containers were working fine, this morning I rebooted the server and got this on all of them: safe_mount: 1200 Invalid argument - Failed to mount "/media/hdd" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/media/hdd" mount_entry: 2406 Invalid argument -...
  10. Mariadb lxc perfomance

    Hello! I have incomprehensible results of mariadb benchmark in proxmox. I tested it with sysbench oltp read only benckmark and got this results: without virtualization 11195.22 transactions per sec in kvm with scsi disk 8358.25 transactions per sec and in lxc 7362.25 transactions per sec Why...
  11. Huge size of LXC backup using Proxmox Backup

    Environment: $ pveversion pve-manager/6.4-13/9f411e79 (running kernel: 5.4.143-1-pve) # proxmox-backup-manager versions proxmox-backup-server 2.1.2-1 running version: 2.1.2 Replication process (from one pve node to another): The size is about 1.29G and the time ~20 seconds. 2022-01-04...
  12. Unable to create LXC via API PVE 7.1-8

    More details in this Github issue: https://github.com/ansible-collections/community.general/issues/3956 I am unable to create an LXC container in v7 via the API if I use the rootfs option to specify the disk size. If I omit the rootfs option, the container is created successfully. I have tried...
  13. set_eugid: setegid(1057400001) - Set SUID/SGID-Range for LXC-Container

    Hello everyone, Since I'm using FreeIPA as my authentication provider with some fairly high UIDs/GIDs, I'm assuming these are the reasons i'm running into this issue. can I just set something like this in my /etc/pve/$ctid.conf? lxc.id_map = u 0 100000 1059900000 lxc.id_map = g 0 100000...
  14. Yet Another mounting a USB3 hard drive for guest use question.

    I am having conceptual trouble with mounting a usb hard drive for use with an LXC guest. Version is: ~$ pveversion pve-manager/7.1-8/5b267f33 (running kernel: 5.13.19-2-pve) The main references I'm using are: https://forum.proxmox.com/threads/mount-external-hdd-in-lxc-container.50897/...
  15. [SOLVED] Container fails to start after upgrade from 6 to 7

    Recently performed an upgrade from 5.4 to 6 and everything seemed alright, then did one from 6 to 7 and now containers are failing to load. ➜ ~ lxc-start -n 100 -lDEBUG --logfile 100_fail.log lxc-start 100 20211227045635.919 ERROR apparmor - lsm/apparmor.c:run_apparmor_parser:915 - Failed...
  16. Degraded CPU performance inside LXC

    Hello everyone I am new to Proxmox, coming from a VMware / Hyper-V background. During evaluation tests I came accross the following issue: When running a certain workload in a LXC container I get degraded CPU performance compared against a QEMU / Hyper-V VM. After some research / benchmarking...
  17. LXC showing hostnode CPU load, not container CPU load %

    After installing proxmox and create some LXC CT, I found all of the created vps is showing hostnode CPU load. Not container CPU load % like openvz does. How we can fix this problem?
  18. Proxmox 7 Docker stoped working

    Hello! Recently I've updated one of my servers to PVE 7 and encountered a problem with on of LXC containers on it. There was a docker service UNMS (management software for network equipment) and it stoped working. In syslog I've found error failed to start daemon: error initializing...
  19. api limitations to root@pam

    Hi, we currently try to deploy several lxc containers that require a hookscript via API (using salt-cloud). basically everything is working as long as we are using the root@pam user. due to security reasons we'd like to avoid using the root user for automated 'actions'. so, right now we patch...
  20. Understanding LXC UID Mappings

    Reading the Unprivileged LXC containers wiki page, it seems UID mappings are needed in the LXC config files to allow permissions for mount points. I thought that the >100000 range of host ids was already mapped to the CT starting with id 0 when you create a new unprivileged CT. Why does the...

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 your own in 60 seconds.

Buy now!