container

  1. H

    LXC storage other than "local"

    I have a proxmox cluster v 8.3.1, each node has a boot drive (rpool) and 2 SSDs mirrored with ZFS (vm-storage0). Under cluster>storage there are listed local, Type directory local-zfs, Type ZFS vm-storage0, Type ZFS root@prox3:~# zfs list NAME USED AVAIL REFER...
  2. B

    [SOLVED] Startup for container Failed to create network device

    I have created a container and am getting a failure to start the container. I ran the pct start CTID --debug and got the following output:
  3. C

    [SOLVED] New Server, New Container but no internet access

    Hi, We just bought a new server, i've installed SSH onto it just so that I can use Terminal instead of the console that the Proxmox gives us, created a new container but is having issues with having a internet connection i.e: I cannot ping from this container, however ping from the server with...
  4. P

    Cannot properly resize LXC volume

    For the past couple of months, I have been desperately trying to resize the volume of my Proxmox container because it has been constantly running out of space. I followed the few guides that I've seen on the forum page, but every single one of them has led me to a dead end. When I utilize the...
  5. A

    Policy-based routing in LXC Container

    I have LXC container on PVE host, and initially it was assigned one WAN IP and one LAN IP (LAN IP is internal subnet to reach other VMs on PVE host). It was configured via web and this is how it looked in the config: net0...
  6. B

    Automatically create file in CT

    Hey, I'm fairly new here and have the following concern: I have a pre-built LXC from which others are cloned (quasi template). However, two additional files are needed that have different contents for each CT (same structure, but different variables that are needed for a script). Is it possible...
  7. B

    API: File in CT erzeugen mittels API

    Hey, ich bin ziemlich neu hier und habe folgendes Anliegen: ich habe ein vorgefertigtes LXC von dem andere geclont werden(quasi Template). Es werden aber zusätzlich zwei Dateien gebraucht, die unterschiedliche Inhalte für jedes CT haben (gleiche Struktur, aber andere Variablen, die man für einen...
  8. T

    Firewall isn´t working in Container or VM

    I have activated the firewall in the Datacenter and it works as expected. The nodes use the firewall. However, the containers and VMs ignore the firewall. I have activated the firewall in the conatiner and under Network for the interfaces. When I add rules to the container itself the rules are...
  9. L

    [SOLVED] Quota issues on Privileged LXC Containers with Quota Enabled

    Hey, i installed Proxmox on a KVM Root Server, and since my hoster doesn't allow nested-virtualization, i am limited with using LXC Containers. I want to install Keyhelp on one of the lxc containers, and Keyhelp requires quota to be enabled and to work, in order for Keyhelp to work properly...
  10. S

    MergerFS setup for LXC

    Hello, I am planning a setup where I will likely be using MergerFS to create a pool of multiple drives for an LXC. I have not been able to find documentation on how the best practices for that would be. Installing MergerFS on the host and using a bind mount to pass it through to the LXC should...
  11. M

    [TUTORIAL] How to Make Fstrim Run More Often in LXC Containers and Linux VMs + the Host (for GRUB and Systemd Proxmox VE Installations)

    This is a tutorial on how to make fstrim run more often or on days that you wish. This could be handy if you have stuff continuously writing to the drives which then later gets deleted, which would cause it to create a large amount of unused data. For example, I have a Minecraft server running...
  12. K

    How do I access the template I created?

    I've set up an Ansible script to build a very basic Debian 12 container. Unfortunately, apt dist-upgrade hangs for 10 minutes the first time it's run, so I want to create a template from the point where that command finally finishes (I need to apt dist-upgrade because the base image...
  13. E

    [SOLVED] Migrating Proxmox Container to Google Cloud Platform

    Hello, Are there any tools, procedures to easily migrate a bunch of Proxmox containers to Google Cloud Platform (GCP) VMs? For example: - I have a container which has 20GB storage disk (thin-lvm), has Debian OS and has setup services and apps running on it. - I have a similarly sized VM on...
  14. R

    Connection refused on accessing CT by public IP

    Good morning everyone, I have several CTs that i can access by local ip, but when i try to access it by public ip i get connection refused. What is odd is that i have home assistant on one VM and i can access it by local and public IP, this problem only happens for my CTs. Does anyone know what...
  15. G

    Mount CIFS share to a non-privileged container

    Hi folks, I am attempting to add access to a NAS shared disk that holds all my books to a Caliber-web CT (from promox-helper-scripts). Here is what I have done on the PVE hosting the ct: added a .credentials file with login info added //192.168.NN.NN/Books /mnt/nas/media cifs...
  16. D

    Upgrading Containers to u24.04

    TLDR it failed to boot. Then I upgraded proxmox for some other reason and when it rebooted my upgraded container sprang into life. So the questions is - is this something to do with the kernel being upgraded? I'd just like to understand that a bit better. I had upgraded containers before and...
  17. M

    Official source and updates for CT templates

    I've recently moved to Proxmox VE for my homelab, following our company and I have a number of LXC containers running. I also write the documentation for the setup of those. I'm now wondering where the official (as provided via "Templates" in the CT Templates on Proxmox) are hosted and how I...
  18. Y

    [SOLVED] Failed to start container after changing its IP

    Hello there! Today I changed my container IP through web interface, and then did a reboot. Suddenly I got an error while starting the container: run_buffer: 322 Script exited with status 1 lxc_init: 844 Failed to run lxc.hook.pre-start for container "111" __lxc_start: 2027 Failed to initialize...
  19. jsterr

    [TUTORIAL] P2100G bad network performance in (docker) container

    We had some issues with docker on p2100G broadcom nics these days. Container did have network performance of only 1.8 MB/s on a 100Gbit/s nic. We fixed it by turning off a specific offload parameter via ethtool --offload enp1s0f0np0 generic-receive-offload off Dont forget to put a pre-up in...
  20. K

    Introduce new mapping for each unprivileged container

    Hello, I'd like to set up a collection of unprivileged containers, each with access to a different ZFS dataset. Since the default mapping between host and container UID/GID is always the same, this seems to introduce a security risk. If a container is compromised, the attacker could access all...

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!