Docker installation on LXC how to get PGID/PGUID mapped to root user

dchristo1971

Member
Mar 12, 2021
3
1
8
53
Im trying to get docker working with PGID/PGUID in a container. The issue is if I install as root then the PGID/PGUID is 0 which is a problem when you try to install containers in portainer. I know this works as a VM but I am wondering if anyone has got this working in a container?

I have tried disabling apparmor and various lxc.mapid tweaks but nothing has worked

Could really use a step by step guide please you lovely people :)
 
  • Like
Reactions: cleverslut