lxc

  1. M

    LXC losing IP address periodically

    Apparently my LXC is not renewing DHCP leases. From time to time the IP address gets released and `eth0@if9` loses the IP. I can't figure out why. I've seen similar posts and have been trying to fix it with no success. I used to have 3 network interfaces set in the Proxmox UI, but recently...
  2. P

    lxc not really "protected" by oom

    Hello fellas, Recently I switched my magento2 setup, happily only dev and staging environment, from VMs to LXC. So far so good! :) But I encounter a very annoying problem with the backend servers, where my crons are scheduled. Unfortunately, the lxc hangs/freezes/unresponsible after a random...
  3. K

    Existing lxc migrate to split zfs dataset into 2

    I have a turnkey mediaserver and it sits on a zfs dataset with all the media. I want to clone or make copies of the install without the data since it works so well. How do I change the zfs dataset so that the boot drive is separated from the huge media store in /srv/storage ? I can remove all...
  4. I

    Ceph OSD drives disconnect when I move LXC storage to it

    Hi, I’m running Plex in an LXC container with the root disk on my local-zfs storage. However, when I try to move the storage to my ceph pool, my local OSD drives disconnect during the process. I tried doing something similar with a larger VM disk (300GB) with no issues. Likewise, when I move...
  5. G

    Snapshot CT LXC

    Hi Is it possible to snapshot a container? I've always used raw for everything but coming up on a few situations (having recently moved some stuff over to CT) where snapshots would be useful It has to be done through ZFS on the hypervisor ? No QCOW2?
  6. D

    Opinions on when to merge multiple LXC into a single VM (or not)

    I have been loving Proxmox now for several months (as my home lab et al) and virtualize most everything at this point. One dilemma I'm having now is at what point, or not, do I merge multiple LXC to a single VM. For example. I run Plex, Tautulli, Sonarr, Prowlarr as separate LXCs (possibly...
  7. S

    Install Immich in LXC and map ZFS storage

    Hello, I am a newbie and I have very hard time understanding unprivileged containers. I want to install Immich in LXC and map ZFS mirrored storage /mnt/tank/immich to the LXC to use it as storage for immich. I mapped the storage to container 100 like this: mp0: /mnt/tank/immich,mp=/mnt/immich...
  8. H

    N150 iGPU Passthrough

    I am brand new to Proxmox and thought I would give it a try when I saw a video that setup a Jellyfin container on a mini PC with an Intel N100 CPU. I want to do almost the exact same thing, except that I have the newer N150 GPU. I've spent the past two days reading numerous blogs, tutorials...
  9. E

    LXC mount idmap

    Hello! I have a proxmox VE with mounted nfs shares. I want to mounz it to an Ubuntu lxc. The mount works with lxc.mount.entry: /mnt/pve/folder mnt/folder_in_lxc none bind,rw 0 0 But I need write access from the container. I know that I need to edit the uid mapping, but I don't know which is the...
  10. A

    Can I stop pvestatd service ?

    Hi everyone , I need to know if I can stop pvestatd ? and if I stopped it will it affect anything of the running LXC containers or the health of the containers? Thank You
  11. D

    Pi-hole LXC Container

    Hey All, I am creating a script to setup a Proxmox 8 LXC Container for Pi-hole with the following services & packages: Pi-hole Tailscale Unbound DOH (Cloudflare & Quad9) DOT (Cloudflare & Quad9) DNSDist DNS01 (Method: TXT Record) The script is here: HERE I get an an error when it gets to the...
  12. J

    configuring Traefik that is lxc container to seperate lxc containers on the network

    good evening, i have 3 lxc containers that are seperated in my proxmox and one of them is Traefik. i ran the proxmox helper scripts from the link below and from what i read. i need to add the labels in each container so traefik can route them. im also trying to understand how i configure...
  13. S

    LXC mp0 data loss after Backup/Restore

    I have an LXC container to which an mp0 ZFS volume with information is mounted, but it is excluded from the backup because it's very big. After creating a full backup of LXC and restoring from it, the data on the CT volume (subvol-103-disk-2) began to be deleted and was completely deleted :eek...
  14. P

    [TUTORIAL] PBS on TrueNAS - Have your cake and eat it too

    What? Are you wanting to use PBS to backup your servers, but want to use TrueNAS as the storage handler? I've been using this setup for the last few weeks and it has worked perfectly. With the latest update of TrueNAS Community Edition, 25.04, you can run Linux Containers (LXC) natively on the...
  15. C

    Synology NAS NFS Share LXC Unprivileged Mount

    Hi all, I am running Proxmox Virtual Environment 8.3.3. I am trying to set up a Mount for a Synology NAS NFS Share into an Unprivileged LXC to be used for the App "Immich" which I have deployed using Docker. I have used the Proxmox Helper Scripts for the Docker LXC...
  16. A

    Proxmox's team stance on running Docker inside an LXC container ?

    I know the point of live migration is addressed in the official documentation (https://pve.proxmox.com/wiki/Linux_Container), but I couldn't find any other official comment on this matter. Some members of the community say that Docker and the LXC sharing the kernel amounts to looking for...
  17. R

    Why LXC containers default to 2 TTYs

    I just noticed that in the default configuration of newly created LXC container, the TTY count defaults to 2. I changed it to 1 and nothing bad happens :p. Using web console and pct enter simultaneously doesn't break either. Just curious why it defaults to 2, I thought there might be a reason.
  18. D

    LXC Networking - No hostname from nslookup?

    Strange question, and honestly not a big deal, but just got me wondering. When I do an nslookup or a ping -a xxx.xxx.xxx.xxx, my plex LXC doesn't return a hostname. My router shows its name as UNKNOWN (where other IPs would show a hostname), even though I've confirmed the hostname within the...
  19. D

    Using ZFS pool

    Hi I'm having a zfs pool RAIDZ1, which includes 4 x 10TB disk. When using this pool in a file server (SMB and NFS) for different purposes, which is better way to share it in LXC or in VM: mount the whole pool as a one big disk (mp1), and use directory structure to share the resource, like...
  20. A

    [SOLVED] small LXC + tmpfs + journald with defaults => LXC die with OutOfMemory

    Hello All! I have been experiencing some LXC with small memory allocation stops, randomly dies silently without any trace of cause. Watching over time, I found that the most probably reason is out of memory. Allocating more memory allows it to run longer, but it fails anyway. When I try to find...