Guide for setting up docker in an LXC?

cbc02009

New Member
May 3, 2020
7
1
1
39
Hello,

Is there a guide for all the settings necessary to get docker running in an (unprivileged if possible) lxc? I've looked and I can't seem to find one. I see from https://pve.proxmox.com/wiki/Linux_Container that I will need to add nesting=1 and keyctl=1 to features in /etc/pve/lxc/1xx.conf. Is there anything else that will need to be set?

Thanks!
 
We recommend to run docker in a VM, not in LXC.
 

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!