lxc

  1. How to convert a VM into LXC in Proxmox VE 6.0.2+?

    PVE version: 6.2-4 Kernel version: 5.4.41-1 source VM: ubuntu1804-amd64 target LXC: ubuntu1804-amd64 in LXC format I've used PVE for almost 2 years and I love it very much. Now I want to convert my VM created by PVE into LXC that can ran on PVE with full features like other LXC orginally...
  2. Cant change DNS settings of LXC Debian containers

    Hello! I'm trying to create OMV container and connect it to AD, but I can't change DNS setting from GUI. In GUI everything is set right (domain name and server) but in LXC /etc/resofv.conf still shows localdomain and dhcp dns server. This problem persist on Debian 9 and 10 templates but if I use...
  3. Valid LXC UID mapping makes Guest /home folder owned by nobody

    I'm trying to do a very typical uid mapping. I have both a Guest and Host user id 5000. Just for reference I'm adding my config, it is valid, because it works. I see Bind mount files on Guest/Host owned by #5000 user as their respective users in Guest/Host. lxc.idmap: u 0 100000 5000 lxc.idmap...
  4. LXC failing to backup to Syno NFS share

    Hi all, Wanted to change from CIFS to NFS, but now backups fail: INFO: starting new backup job: vzdump 100 --storage LXC_Backups --compress zstd --mode snapshot --remove 0 --node 0v3rw4tch INFO: Starting Backup of VM 100 (lxc) INFO: Backup started at 2021-02-17 18:23:42 INFO: status = running...
  5. Devuan archive is not restored

    proxmox-ve: 6.3-1 (running kernel: 5.4.78-2-pve) pve-manager: 6.3-3 (running version: 6.3-3/eee5f901) pve-kernel-5.4: 6.3-3 pve-kernel-helper: 6.3-3 pve-kernel-5.4.78-2-pve: 5.4.78-2 pve-kernel-5.4.65-1-pve: 5.4.65-1 pve-kernel-5.4.34-1-pve: 5.4.34-2 I made lxc from devuan template: # cat...
  6. [SOLVED] Debian 10.X LXC systemctl problem

    Hello everyone, quiet some time ago i have encountered a very weird problem with Debian 10 LXC containers. Every time i create a new LXC container, systemctl commands do not seem to work very well. What i mean by that: systemctl restart ssh or nginx or whatever else does not give me any...
  7. Issue with NFS share on LXC CT and permissions

    Hi, I have a fresh installation of an ubuntu on LXC with docker. I mounted on this LXC a share NFS folder from an VM of Openmediavault like that: arch: amd64 cores: 6 features: mount=nfs,nesting=1 hostname: Docker memory: 4096 mp0: /mnt/pve/storage-docker,mp=/mnt/storage-docker net0...
  8. [SOLVED] issue to install docker in ubuntu lxc

    Hi all, I would like to install docker in LXC but I still have this error in end of the installation (ubuntu or debian...): [...] TriggeredBy: * docker.socket Docs: https://docs.docker.com Process: 11536 ExecStart=/usr/bin/dockerd -H fd://...
  9. Hinzufügen von LXC-id mapping reversiert das Eigentümerschaft aller Benutzerdateien innerhalb des Containers

    Wie viele andere habe ich einige Bind-Mounts, die ich zwischen mehreren LXC-Containern teilen würde. Wie viele andere auch, bin ich über das Problem der kollidierenden UIDs gestolpert. Ich versuche, ein Mapping einzurichten, aber so viel ich auch lese, ich scheine ein großes Missverständnis zu...
  10. LXC container - no network on creation

    I'm running on Proxmox VE (pve-manager/6.3-3/eee5f901 (running kernel: 5.4.34-1-pve). I'm following this basic guide on making a LXC container. I'm using the official Proxmox 20.04 Ubuntu template for LXC. When I connect to the container, I am unable to connect to the network. All pings...
  11. Add a static route on a container

    Hey, I am trying to create a static route on my LXC Container. I executed the following command: sudo ip route add 64:ff9b::/96 via fe80::1 dev eth0 But some why this doesn't work. Does anybody know why? :D Greetings
  12. The DKMS command will output " Your kernel headers for kernel 5.4.78-2-pve cannot be found".

    I am writing this using a translating machine. The DKMS command will output " Your kernel headers for kernel 5.4.78-2-pve cannot be found". Host OS CPU(s):8 x Intel(R) Xeon(R) CPU E3-1275 v3 @ 3.50GHz (1 Socket) Kernel Version:Linux 5.4.78-2-pve #1 SMP PVE 5.4.78-2 (Thu, 03 Dec 2020 14:26:17...
  13. Weird permission issues with APT in a priviledged LXC container?

    Hi guys! I'm pretty new to Proxmox, but I feel like I've been doing pretty fine. However, I've run into this really weird issue where I cannot use APT to install some packages in my LXC container. I also had some issues earlier with Docker, but I fixed those by turning on nesting. However, now...
  14. Install nginx in a privileged container

    Hi! After creating a privileged container with Debian 10 template image, I'm unable to install Nginx: The most relevant part of the issue is here: (...) Setting up libnginx-mod-http-image-filter (1.14.2-2+deb10u3) ... Setting up nginx-full (1.14.2-2+deb10u3) ... Setting up nginx...
  15. LXC container will not start

    while attempting to setup learning more about containers I made my DNS file on my container immutable inside of the container ( I was trying to get localdomain dns resolution working). After rebooting i now cannot start my container, knowing the issue is the DNS file in the container itself am i...
  16. proxmox 6.3 + lxc+ nfs share

    i would like to share nfs folder , the lxc is ubuntu 18.04 i tried but every time i receive an error: root@nfs-intenral:~# journalctl -xe -- The result is RESULT. Jan 12 11:21:13 nfs-intenral systemd[1]: rpc-svcgssd.service: Job rpc-svcgssd.service/start failed with result 'dependency'. Jan 12...
  17. [SOLVED] Error: mount: only root can use "--types" option (effective UID is 100000)

    Fresh install of Proxmox 6.3-3 on Debian 10 (4.15.18-1-pve). Trying to make NFS shared folder for containers: Allow NFS in apparmor profile: /etc/apparmor.d/lxc/lxc-default-cgns mount fstype=rpc_pipefs, mount fstype=nfs, mount options=(rw, bind), restart APPARMOR, setup /etc/exports with...
  18. Understanding virtual disk images under lxc containers

    Dear Team, please help me to understand virtual disk images under lxc containers, as I read several posts which did not satisfy my challenges. I have a VM acting as a fileserver with a 300GB qcow2 disk attached along with the root disk. As I found that using lxc is much more efficient (very...
  19. VM do not get IP from udhcpd in LXC

    Hi, VM dot not receive IP from DHCP server running in LXC. No FW, no iptables, no ebtables, all policies on ACCEPT, (both in LXC & Proxmox VE host). The DHCP server gets the requests, but the VM seems not to receive them. The only specificity: they are both in the same tagged VLAN 66. Vlan...
  20. [SOLVED] problem with pct enter and run a script with "#!/usr/bin/env bash" - not working

    Hello everybody, I connect to some LXC Container with pct enter ID. After this I have a script like this here: #!/usr/bin/env bash export SOME_ENV_PATH="path/to/file.env" read -p "Please give your name:" Name If i comment out the line, the script is working fine export...

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!