LXC UID/GID Mappings

mrhottshot

New Member
Jul 9, 2018
1
0
1
31
I can't get this container to run properly when the mappings are 200000. The container will start but I'm unable to login or access ssh. However, without the mappings the container runs fine. I can't figure out why I can't use another range for this container. I have also added the range in both the /etc/subuid and /etc/subgid. Any ideas?

Code:
arch: amd64
cores: 2
hostname: nextcloud
memory: 2048
mp0: /vault/nextcloud,mp=/mnt/nextcloud
nameserver: 8.8.8.8
net0: name=eth0,bridge=vmbr1,gw=10.0.0.1,hwaddr=4A:D1:A6:14:7E:74,ip=10.0.2.1/16,tag=50,type=veth
onboot: 1
ostype: ubuntu
rootfs: local-lvm:vm-106-disk-1,size=20G
swap: 512
unprivileged: 1
lxc.idmap = u 0 200000 65536
lxc.idmap = g 0 200000 65536
 

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!