🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Your experience with Docker in LXC | Proxmox Support Forum
November 3, 2024 - From proxmox wiki: "If you want to run application containers, for example, Docker images, it is recommended that you run them inside a Proxmox QEMU VM. This will give you all the advantages of application containerization, while also providing the benefits that VMs offer, such as strong isolation from the host and the ability to live-migrate, which otherwise isn’t possible with containers." https://pve.proxmox.com/wiki/Linux_Container Since lxc and docker uses the same stuff from the kernel, mixing them is problematic
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: networking and firewall
[SOLVED] - Docker inside LXC (net.ipv4.ip_unprivileged_port_start error) | Proxmox Support Forum
3 weeks ago - I understand that this is a temporary solution until Docker fixes the issue or until there is an update to LXC. Click to expand... Yes, debian 12 has the same issue and 1.7.29-1 still not working, i did apt-mark hold containerd.io . ... This is not a Docker issue — it's an AppArmor bug. See: https://github.com/opencontainers/runc/issues/4968 The package containerd.io=1.7.28-2 includes a critical vulnerability fix, so downgrading is strongly discouraged.
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
[SOLVED] - Run Docker inside LXC | Proxmox Support Forum
July 9, 2022 - These are generally referred to ... the host, using the Docker Engine command line interface. It is not recommended to run docker directly on your Proxmox VE host....
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
[SOLVED] - Proxmox VE 9.0 BETA LCX Docker not working | Proxmox Support Forum
July 18, 2025 - The reason is, that docker and lxc use the same lowlevel kernel and system stuff which might conflict with eachother. A Update might introduce changes with previous unknown causes.
🌐
Reddit
reddit.com › r/proxmox › docker containers in an lxc
r/Proxmox on Reddit: Docker containers in an LXC
July 30, 2023 -

Hey Squad.

So, I have been doing some home labbing. I wanted to just get some applications running in a really light weight environment as my hardware is just a couple of old pcs.

So currently, I am installing docker in LXC containers due to it being super light weight and I actually pushed the hardware to about 5 services. Which is more than I thought I would get out of it.

But my question is.. is their a downside to doing it this way? Whats the real difference between installing docker in lxcs over vms. Besides that the VM has its own kernel? Are their any cons to this approach?

🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Docker applications failing in LXC "failed to create shim task" | Proxmox Support Forum
November 9, 2025 - docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: open sysctl net.ipv4.ip_unprivileged_port_start file: reopen fd 8: permission denied: unknown · Click to expand... So your... ... Be careful when updating Docker on Proxmox LXC machines (as far as I know): when you run apt update&&apt upgrade, among other packages, containerd.io is updated to 1.7.28-2~debian.13~trixie, so if you try to launch your containers, you will get the following error:
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
CVE-2025-52881 breaks docker LXC containers | Proxmox Support Forum
1 month ago - I agree, the bug report in bugzilla ... https://github.com/lxc/incus/pull/2624 The fix basically disabled some of the AppArmor rules for lxc if the container is nested....
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
[SOLVED] - Proxmox VE 9.0 BETA LCX Docker not working | Page 2 | Proxmox Support Forum
July 18, 2025 - Click to expand... Can confirm, after adding "lxc.apparmor.raw: allow mqueue," to the config, everything is working fine. All LXC Container are up and running. Thank you for your support!
Find elsewhere
🌐
Proxmox VE
pve.proxmox.com › wiki › Linux_Container
Linux Container - Proxmox VE
Proxmox VE can also use OCI images to create containers, both system containers but also application containers. Note that running application containers in Proxmox VE is currently considered a technology preview. A container created from an OCI image still uses the existing LXC framework.
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Run docker servers on Proxmox | Proxmox Support Forum
April 23, 2024 - I am attaching the docker compose here https://gist.github.com/yayaya142/515ac09ae1dac9a068976a406b1a7d16 I am sorry if I am doing something that breaks the form rules ... Best to tun Docker in a real VM, not in an LX(C) container. This is the ...
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Running docker containers in proxmox containers | Proxmox Support Forum
December 31, 2020 - Unprivileged LXC is fine for docker but you need to enable the "nesting" and "keyctl" features first. Click to expand... You are correct. Using https://pve.proxmox.com/wiki/Unprivileged_LXC_containers to convert from privileged to unprivileged ...
🌐
Level1Techs
forum.level1techs.com › operating systems & open source › open source & web-based
Why no Docker in LXC? - Open Source & Web-Based - Level1Techs Forums
November 30, 2024 - At the tail end of a recent video from Wendell, A (Re)Certifiably INSANE 330tb RAW Home Server Build (~23:30 minute mark), he talks about a bug that he is hitting when running Docker in an LXC container on Proxmox that causes a crash. As almost a throwaway comment, he says, you should not be running Docker in LXC.
🌐
XDA Developers
xda-developers.com › home › linux › here's how i run docker in an lxc on proxmox, and why it's a solid alternative to a vm
Here's how I run Docker in an LXC on Proxmox, and why it's a solid alternative to a VM
July 17, 2025 - For starters, Proxmox updates can break Docker LXCs. They’re also not as secure as virtual machines, and while I have yet to encounter stability issues, I’ve heard plenty of nightmarish tales of Docker LXCs going cuckoo out of nowhere.
🌐
Proxmox
forum.proxmox.com › home › tags
docker lxc | Proxmox Support Forum
It may not display this or other websites correctly. You should upgrade or use an alternative browser. Be careful when updating Docker on Proxmox LXC machines (as far as I know): when you run apt update&&apt upgrade, among other packages, containerd.io is updated to 1.7.28-2~debian.13~trixie, so if you try to launch your containers, you will get the following error: So your containers aren't...
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Docker on LXC or VM? | Proxmox Support Forum
March 29, 2019 - Best regards, Dominik Do you already have a Commercial Support Subscription? - If not, Buy now and read the documentation ... docker uses kernel features for encapsulating containers (like lxc) so nesting this is not that easy, but doable when you acitvate the 'nesting' feature (Container->options->features) Click to expand... Thanks for this - Is there any documentation on this nesting feature and what it does / how? I'm interested since I would have thought it standard to run docker inside an LXC container with the docker instance (and its containers) being transparent to the host i.e.
🌐
Virtualization Howto
virtualizationhowto.com › home › proxmox › complete guide to proxmox containers in 2025: docker vms, lxc, and new oci support
Complete Guide to Proxmox Containers in 2025: Docker VMs, LXC, and New OCI Support - Virtualization Howto
So after considering what we have ... container stacks. LXC containers still have a place and provide great performance and low overhead but are not compatibile without conversion with OCI container images....
Published   2 weeks ago
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox virtual environment › proxmox ve: installation and configuration
Docker in Unpriviledged LXC or Dedicated VM? | Proxmox Support Forum
October 23, 2024 - Don't use docker inside an lxc, this isn't really supported and might break at any time (especially due to updates). Don't use any "helper scripts" either, if you don't understand, how they are working.
🌐
Proxmox
forum.proxmox.com › home › forums › proxmox backup server › proxmox backup: installation and configuration
Docker in LXC hangs after LXC Startup | Proxmox Support Forum
November 6, 2023 - It may be a cause for Docker freezing for a while trying to execute startup tasks that would require more privileges than the container has, before timeouting / realising it doesn't need such privileges. You probably won't see that kind of problem if installing in a KVM host. Best regards, -- G. Delanoy ... I think this is not a PBS issue but a PVE thing, which explicitly warns about running Docker in a container: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_pct .