lxc

  1. LXC USB pass-through not accessible (rights, owner)

    hello, on two different laptops, connecting a mobile (different mobiles, but both in ADB) and passing it through to an unpriv. LXC give different results. on laptop A, the device entry created looks like crw-rw-rw-+ 1 root dialout 189, 138 Sep 24 07:27 /dev/bus/usb/002/011 in the container...
  2. [SOLVED] lxc config via api (PUT problem)

    Hi! Stuck on trying to change lxc config via api, example: curl -Ss --insecure -X PUT --header 'Authorization: PVEAPIToken=root@pam!test=UUID' --data-urlencode onboot=1 "https://pve1:8006/api2/json/nodes/pve1/lxc/107/config"|jq '.' { "data": null } Problem only with this PUT method, other...
  3. Define LXC/CT uid mappings *before* creation

    I'm running into this issue which I can't seem to solve on my own with man and the docs. I tried many different configs to no avail and this honestly doesn't sound like something so hard, unless I'm missing a key point. Either way, thanks in advance for pointing me in the right direction. I'm...
  4. Restore a lxc-container

    I tried to upgrade my PVE Server, and accidentally smashed it, so I decided to set up a new one. Every ISO and every template got coppied successfully, but I still cant restore (on my local -> content -> select backup / restore) the backup The server always tell me: Logical volume...
  5. [SOLVED] Backup lxc Container from pve 4.4

    Hi, might sound a little stupid, but I am searching on Google since yesterday evening and don't know if I just search wrong. I tried to Upgrade my Proxmox from 4.4 to 6.3 So i backuped my VM and my Containers (via WebGUI) and tried to upgrade the Server. Well, this went horribly wrong, and...
  6. LCX not working on VLAN

    Hi everybody, I'm quite new to proxmox and networking in general, I really enjoy learning about networking, virtualisation and selfhosting. I recently set up my pfsense router with a few VLANs and got almost everything is working the way I want. I now want to set up a nextcloud server on a DMZ...
  7. cannot clone "unable to clone mountpint 'mp3' (type bind) (500)"

    only solution i found so far is to delete the binds (nfs mount) clone and then remake them any other solutions ? example for bind that fails: mp3: /mnt/pve/docs,mp=/mnt/docs,backup=0,shared=1,replicate=0
  8. NTOPNG on LXC Container

    I am running PfSense on Proxmox as VM and I am running NTOPNG as LXC Container on same Proxmox server, I have created a Linux Bridge on Proxmox to PfSense. The problem I am running into is that ntopng is not detecting public network activity on those Linux Interfaces, it can only see local...
  9. NTOPNG on LXC Container

    I am running PfSense on Proxmox as VM and I am running NTOPNG as LXC Container on same Proxmox server, I have created a Linux Bridge on Proxmox to PfSense. The problem I am running into is that ntopng is not detecting public network activity on those Linux Interfaces, it can only see local...
  10. [SOLVED] Suggestion for a template to use to host a flexlm daemon?

    Hello, running 6.2 here. I have to install a Flexlm license server to handle a couple of Autocad network (floating) licenses. Obviously this is not a tough job and flexlm does exist for Linux (AFAIK, see also https://www.plexim.com/dstlm ). Therefore I'd like to avoid using a full KVM for the...
  11. lxc ubuntu 6 and 10 don`t shutdown

    Hello. I was converted openvz(Proxmox VE 1.9) with ubuntu 6.06 and ubuntu 10.04 servers to lxc(Proxmox VE 6.2-4). If I press shutdown, I get this error can't lock file '/run/lock/lxc/pve-config-107.lock' - got timeout (500) command 'lxc-stop -n 107 --nokill --timeout 60' failed: exit code 1...
  12. LXC Containers won't start after reboot

    Hello, so I had a problem with a container that wouldn't shut down so I killed the process so it would shut down since I didn't need it anymore. After that I destroyed the container and checked for updates. I updated the host system and since there was a kernel update I decided to shut down all...
  13. Containers not starting

    Recently installed Proxmox, and I'm trying to create a container, but I'm getting this error. thelmgn@Cana:~$ sudo cat /tmp/lxc-100.log lxc-start 100 20200831215524.275 INFO confile - confile.c:set_config_idmaps:2055 - Read uid map: type u nsid 0 hostid 100000 range 65536 lxc-start 100...
  14. [SOLVED] All LXC containers have completely broken after host crashed

    Hi forum, I have a server running with 30 lxc containers, last night, the host crashed and rebooted without any signs, after that, the containers could not start at all. Here are some information: root@rvh-bt-gen2:~# pct config 13137 arch: amd64 cmode: shell cores: 1 cpulimit: 1.0 hostname...
  15. static route LXC Ubuntu 18.04 container

    How to add a static route to an LXC container with Ubuntu 18.04, since the network configuration is no longer in the interfaces file
  16. LXC add linux.kernel_modules

    I am trying to setup an LXC container (debian) as a kubernetes node. I am so far that the only thing in the way is the kubeadm init script... error execution phase preflight: [preflight] Some fatal errors occurred: [ERROR SystemVerification]: failed to parse kernel config: unable to...
  17. LXC don't start

    Hello, I converted openvz to lxc without any fails. When I press Start, container don`t start. Version Ubuntu is 6.06 inside container. I included support old version Ubuntu in file /usr/share/perl5/PVE/LXC/Setup/Ubuntu.pm my $known_versions = { '20.04' => 1, # focal LTS '19.10' => 1, #...
  18. chrt (process priority) and cpulimit and system stability

    Hello everyone! When i was running some tests with privileged container (based on old centos distribution) - i`m find that cpulimit doesn`t work if i use chrt command. I think that it`s correct, but cannot find proper way to deal with this (CAP_SYS_NICE give all capabilities). Can anyone know -...
  19. LXC wont start on reboot

    Hi all, It's been a while since I last posted, but I'm having an issue again that I can't solve myself. The LXC containers on my host do usually do not survive a reboot, but a restore from backup can revive them until the host is rebooted again. I thought this was reproducable all the time...
  20. [SOLVED] usb pass through in lxc container

    Hello, I'm at my wits end. I want to pass through a USB device (for instance my UPS is connected via USB and I have other devices like z-wave and zigbee as well). This is what I do (and is according to proxmox manual and all tutorials out there): Create a LXC container (debian 10 or ubuntu 20...

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!