lxc

  1. [SOLVED] Privileged LXC container can't get IP (AppArmor)

    Oct 11 11:10:29 pve-lap systemd[1]: Started PVE LXC Container: 118. Oct 11 11:10:29 pve-lap pvedaemon[20472]: <root@pam> end task UPID:pve-lap:00000877:10AC5DF9:5DA04703:vzstart:118:root@pam: OK Oct 11 11:10:30 pve-lap audit[2417]: AVC apparmor="DENIED" operation="mount" info="failed flags...
  2. container incorrect login (no login)

    Hello, I create container but still get incorrect login each time by using username as root with different passwords but still the same. #cat lxc-monitord.log lxc-monitord 20191002161236.771 INFO monitor - monitor.c:lxc_monitor_sock_name:212 - Using monitor socket name...
  3. LXC on NFS (sync) does not work

    I am mounting several NFS shares. For my LXC and QEMU images I wish to mount the NFS share as synchronous. QEMU guests are working well on the NFS sync share. For LXC, however, I noticed my sync writes dropped down below 10 MB/s and would hang for several minutes after writing test files. The...
  4. [SOLVED] LXC Debian 10 no longer start

    I'm on Proxmox 6 I have images based on Debian 10, yesterday I stopped one and it never restarted: Job for pve-container@100.service failed because the control process exited with error code. See "systemctl status pve-container@100.service" and "journalctl -xe" for details. TASK ERROR...
  5. PVE GUI issues with LXC Migration

    In Proxmox PVE 6.X I've noticed some odd behavior within the GUI when attempting to migrate an NFS mounted LXC container. I wonder if someone can repeat so I might be able to determine if this is an internal issue on my end or a bug I should report. Note: Migration of the Container is working...
  6. permissions in /home messed after adding some idmap

    Hello, I'd like to setup unprivileged containers with glusterfs mount in it. The idea is to have 1 ansible controller in each datacenter, so, in case we lost a datacenter connectivity, we still be able to run playbooks from the other datacenter. So, my lxc.idmap does the job for the bind mount...
  7. need configFS writeable from lxc

    Hello, i need to install targetcli-fb in lxc container for iSCSI service. By installing targetcli-fb on host i got all kernel modules in lxc and targetcli is working without errors. My first step is to create a file-based backstore but this ended with an error. Unfortunately targetcli writes...
  8. Can't destroy LXC container "dataset is busy"

    Hello, when i try do destroy a LXC container i hav this error: TASK ERROR: zfs error: cannot destroy 'STORAGE/VM/LXC/subvol-133-disk-1': dataset is busy Thanks!
  9. Samba secondary DC in an unprivileged LXC container with Debian Buster

    Hello together, Currently I'm running Proxmox VE 5.4-2 (running kernel: 4.15.18-20-pve) and I wanted to have a secondary Samba 4 domain controller in an unprivileged LXC container. I installed in a container the debian-10.0-standard_10.0-1_amd64.tar.gz and upgraded it afterwards to Debian...
  10. Samba secondary DC in an unprivileged LXC container with Debian Buster - ..."security.NTACL") failed: Operation not permitted (1)

    Hello together, Currently I'm running Proxmox VE 5.4-2 (running kernel: 4.15.18-20-pve) and I wanted to have a secondary Samba 4 domain controller in an unprivileged LXC container. I installed in a container the debian-10.0-standard_10.0-1_amd64.tar.gz and upgraded it afterwards to Debian...
  11. nvidia container runtime in LXC container?

    I'd like to enable hardware-accelerated video transcoding via an Nvidia GPU card for an instance of Plex Media Server running inside PVE's flavor of LXC container. Has anyone been successful in enabling Nvidia GPU pass-through on Proxmox using nvidia-container-runtime? (LXC or KVM, doesn't...
  12. Proxmox Ubuntu lxc Container mit snapd / Fehlermeldungen

    Hallo zusammen, Ich habe ein Problem mit snapd in Ubuntu 18.04 lxc Containern. In meiner lxc config habe ich bereits folgendes hInzugefügt. features: nesting=1,fuse=1,mount=nfs lxc.cap.drop: I can start the snapd container with rocketchat server but in syslog I have the following error...
  13. LXC guest not exposing ports when using static IP

    Hi! I'm fairly new with Proxmox - first installation last monday - and I'm having an strange issue. LXC containers are working fine when its Network Device is set up to use DHCP. If I change the setup to have an Static IP, container can still connect to other local ips/the internet. External...
  14. [SOLVED] snapd lxc - container ubuntu 18.04 problems Error message

    Hello everyone, I have a ubuntu lxc - container with ubuntu 18.04 and installed snapd, but with problems. In my lxc config I have the following lines added: features: nesting=1,fuse=1,mount=nfs lxc.cap.drop: I can start the snapd container with rocketchat server but in syslog I have the...
  15. PVE 6 is there a way to push a file to multiple container ?

    Hello everyone, everything is in the title :) So you'll understand I'm looking for a way (simple if possible of course) to copy or edit the same file on multiple containers (lxc). I set up several containers that do the same thing and for which I would like to edit at the same time. If...
  16. [SOLVED] SMTPD Banner Mail Gateway Cluster / Promox VE LXC Container PMG 6.0

    Hello Everyone, I have now two Proxmox Mail Gateways in a Cluster. Now I would like to have two different SMTPD Banners, one for each machine. (PMG Mailin01 and PMG Mailin02). If i change it on one machine the second machine have the same SMTPD Banner. If I edit main.cf changes will override by...
  17. is it possible to auto trim for lxc disks?

    I have a cluster that has relatively heavy IO and consequently free space on the ceph storage is constantly constrained. I'm finding myself performing fstrim on a more and more frequent interval. Is there a way to auto trim a disk for an lxc container?
  18. Tor inside LXC blocked by AppArmor

    Hey fellas, this is what dmesg gives: [153434.316515] audit: type=1400 audit(1566380002.099:292): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" label="lxc-110_</var/lib/lxc>//&:lxc-110_<-var-lib-lxc>:unconfined" name="system_tor" pid=24893...
  19. format / reset rootfs disk in container

    Dear Community, When I provision a LXC container in Proxmox, it is quite difficult to reset it to an initial state. I want to override the rootfs with a clean image from the template and reinitialize the basic setup Proxmox does (like install SSH keys, configure network). The reason for this...
  20. DHCP6 template

    Does any1 know of good DHCP server LXC template?

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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!