lxc

  1. U

    Proxmox LXC container automatic login

    Hello. I installed Ubuntu as an LXC container and set a root password during installation. I needed it for one-time access through SSH. How should I remove the password and make login: root (automatic login) as in default containers?
  2. M

    Mounting iSCSI Share to LXC Container

    Hello, I am currently trying to mount a iSCSI Share to an LXC Container. If I try to mount the iSCSI Share directly to the LXC Container I get the following error message: "iscsiadm: read error (-1/104), daemon died? iscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the...
  3. I

    Debian LXC template and slow logins

    I've been experimenting with LXC containers and ran into some misbehaviour that I think is down to the provided templates. There seem to be a couple of workrounds available but I thought I'd dump what I know in case this is worth addressing. I have a couple of Proxmox 8 nodes and created an LXC...
  4. G

    Fstrim on LXC while running or stopped?

    Can the command#pct fstrim <vmid> be run while the container is either running or stopped? I have a debian LXC that runs qbittorrent & wireguard (amongst some other services) and was wondering how best to run the pct fstrim command. Also, when will it be the most effective in trimming...
  5. J

    [SOLVED] LXC Container Issues (iGPU/tun passthrough and login delays)

    Hi everyone! As the title says, I am having two issues with my LXC containers. The server runs Proxmox 8.1.3, with the Linux 6.5.11-6-pve kernel. First issue - delay when logging into the containers. This impacts all of the LXC containers (Debian 12 standard template), and it causes a delay...
  6. C

    Can't start LXC Containers

    I've just installed proxmox under WSL (latest version) and it all seems to be running fine, except for one rather critical component: I can't run LXC containers. When I run a container I see: Running lxc-start -n 100 -F -lDEBUG -o lxc-100.log gives (I've had to chop out some of the INFO...
  7. M

    Privileged LXC group IDs different to host after restore

    Hi, I have just done a clean install of PVE 8.1.3 after changing some hardware in the host. I have restored my Plex LXC and some of the groups have different IDs in the container than the host which is breaking my GPU transcoding. The render group is ID 107 in the LXC but 104 on the host. On...
  8. H

    Seeking Advice on GPU Passthrough Switching Between Proxmox Host and LXC Container

    Hello Proxmox Community, I am currently working on a project where I need to passthrough a GPU to an LXC container on a Proxmox host. I have successfully followed the steps outlined in this guide: Nvidia GPU Passthrough to LXC Container in Proxmox, and the GPU is now accessible within my...
  9. F

    Cannot write to local NFS mount from either root or within CTs

    hi everyone, i'm having a blast using proxmox! I'm facing an issue with how i want to organize my lxc infrastructure. here a brief roundup of the setup: single node (neuromancer) running both VMs and CTs zfs pool ("vault") with a few datasets (both used for proxmox storage and user storage)...
  10. M

    UID/GID Mapping not working in NFS share for unprivileged LXC

    Howdy folks, Brand new Proxmox user and I've hit a roadblock with NFS shares in an unprivileged LXC container. I've been trying to bind mount and map based off this guide. My UID/GID 3000 mapping in the VM confs look like this: ... lxc.idmap = u 0 100000 3000 lxc.idmap = g 0 100000 3000...
  11. M

    [SOLVED] UID/GID Mapping and NFS Share Access in unprivileged LXC

    Howdy folks, Brand new Proxmox user and I've hit a roadblock with NFS shares in an unprivileged LXC container. I've been trying to bind mount and map based off this guide. My UID/GID 3000 mapping in the VM {id}.conf looks like this: ... lxc.idmap = u 0 100000 3000 lxc.idmap = g 0 100000 3000...
  12. H

    Persistent storage for docker VM/LXC?

    Hey everyone! I'm still a bit new to this, and therefore sometimes a bit overwhelmed when it comes to one or the other topic, as a small disclaimer. Since it has been pointed out that VMs rather than LXCs should be used for docker containers, I would like to run a CouchDB as a docker container...
  13. G

    LXC TURNKEY-GITLAB 17.1.1

    I installed the turnkey Gitlab 17.1.1 LXC template. After the installation weird behaviour is happening. I try to log in to GitLab with my root account and I get an HTTP 500 error. After that, I decided to register a test account, and redirected me to: http://$MY_HOST/users/sign_in#login-pane...
  14. P

    LXC bind mount permissions for user accounts

    I'm new to Proxmox and really just wanting to see how well it handles video encoding with an Intel Arc GPU. 2 LXC containers (plex and jellyfin) 1 VM running Debian Docker services installed New user created and added to the docker group Docker is running a samba container Bind mounts...
  15. M

    Restoring LXC with shared bind mount

    I have a container with a bind mount which is not included in the backups. When I try to restore the container, I get this error: The size of the disk in the GUI is listed as 32.99TB so, would I change my config line from mp0: btank:subvol-115-disk-0,mp=/tank to mp0...
  16. R

    AmazonLinux2 LXC

    Hi, gibt es eine einfache Möglichkeit einen AmazonLinux2 LXC-Container zum Laufen zu bringen? https://cdn.amazonlinux.com/os-images/2.0.20231116.0/container/amzn2-container-raw-2.0.20231116.0-x86_64.tar.xz Die Fehlermeldung lautet: ########### extracting archive...
  17. N

    No internet error with LXC script

    I'm trying to install an LXC script for docker with the command bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/docker.sh)" I type in a static ip 192.168.5.46/24 but get the error no internet. My other VMs are working and have internet. Any idea on what the issue is or how...
  18. M

    LXC Samba Server Performance

    Hallo zusammen ich habe einen LXC Container aufgesetzt, der einen Samba-Server beinhaltet. Der Container läuft als "privileged" Container, was mir eigentlich nicht so gut gefällt, aber mit einem unprivilegierten LXC habe ich den Samba Server nicht zum Laufen gekriegt. Warum ich das so mache...
  19. K

    LXC load averages are wrong in Zabbix on PVE 8.x in LXC containers

    After upgrading to PVE 8 and several CTs to Debian 12, I experience a loadavg discrepancy. The load averages shown in the CTs are that of the host, divided by the number of CPU cores of the LXC container (per-core loadavg in Zabbix), instead of the load of the LXC guest itself. The commands...
  20. T

    LXC - pct remote-migrate fails

    I'm trying to remote-migrate my LXC containers between 2 separate clusters but it keeps failing. Remote VM migrations do succeed (both online/offline). At this point I can't seem to find the exact point the migration fails at. Things I have searched for: The error "failed: Insecure dependency...

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 yours easily in our online shop.

Buy now!