container

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. S

    Container Creation Failure on Nodes 1 & 2 with Proxmox VE 8.2.0

    Hello everyone, I'm encountering an issue when trying to create a container on two of our nodes (1 & 2), while it works without any problems on node 3. Below is the error message I receive: syslog: Jun 04 14:00:08 pve2 pvedaemon[110971]: <root@pam> starting task...
  18. N

    Container won't start

    I am new to Proxmox so spare me ;-) But the container is created but won't start. Also search on Google for an solution but did not find an answer yet :( 1. Installed on Raspberry PI 4 with this tutorial: https://pimylifeup.com/raspberry-pi-proxmox/ 2. Needed to change the...
  19. M

    Feature request: pre-set SSH keys

    When creating container there is an option to enter root password or upload SSH public keys. That is very useful; what is inconvenient is that one needs to find their keys each time. What would be convenient if we had a way to set up "default" keys in advance in e.g. user profile, and then have...
  20. A

    [SOLVED] Kernel Panic on container template download

    I am using an old HP Pavilion laptop Ram : 8GB Processor : i7 HDD : 1TB Proxmox version : 8.2.2 kernel root@prox:~# uname -a Linux prox 6.8.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.4-2 (2024-04-10T17:36Z) x86_64 GNU/Linux While downloading a template for ubuntu24.04/2 from GUI causes a kernel...

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!