FreeIPA and unprivileged containers

koalillo

Active Member
Nov 1, 2018
36
0
26
44
Hi,

I'm toying with unprivileged containers in order to be able to use Docker inside them. This seems to work, but it break my FreeIPA setup.

My Proxmox host is joined to FreeIPA, and my provisioning procedure for containers also joins them to FreeIPA.

This means that my user is in a very high UID range, starting at 1284000000 (limit 200000 uids, but they are assigned sequentially, so my admin user is 1284000000, I'm 1284000001, etc. gids are similar.

This breaks on an unprivileged container as:

Code:
alex@h2:~$ cat /etc/subuid
root:100000:65536
alex@h2:~$ cat /etc/subgid
root:100000:65536

Can I change this safely to fix things? Will this affect existing containers or my host which is also using high UIDs?

Cheers,

Álex
 

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!