Run Docker in a Proxmox LXC Container
#shorts #docker #proxmox
If you want to run Docker on Proxmox VE (https://www.proxmox.com) then the documentation suggests you run Docker inside a VM. But if you tick the right two or three boxes then you can easily run Docker inside an LXC Container on Proxmox VE. The keys to select are nesting and keyctl
Watch the video on YouTube
Click to view the entire transcript
So if you want to run Docker on Proxmox, then the recommended way to do that is to create a virtual machine and then run Docker inside that VM – but – really ? Run a Linux VM on Linux and then run Docker inside that VM? There must be a better solution. Yes – Even though the documentation doesn’t say so, you can run Docker inside a container on Proxmox. All you have to do is that either you make the container privileged by unticking “Unprivileged Container” or – if you want an unprivileged container – you go to the container’s options and tick those two boxes under Features: keyctl and Nesting. Now you’re ready to go. If you installed Debian 11 for example, then go to the shell and install docker by typing apt install docker.io. Done. Thanks for watching. Please Like and subscribe.