Unix socket permissions on unprivileged container

molware

Active Member
Dec 2, 2019
8
0
41
28
Restoring some VM's/containers from a corrupted pve install(keep backups folks), and running into issues rebuilding the config for a nextcloud container. The container had a functioning nextcloud snap package installed. Trying to start the nextcloud service results in an error with the redis server.

Redis log file shows a permissions issue.

Code:
1447:M 31 Jan 2021 19:29:20.044 # Opening Unix socket: bind: Operation not permitted

Container Conf:
Code:
arch: amd64
cores: 2
features: nesting=1
hostname: ncloud
memory: 4096
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=3A:6C:E7:DE:DD:AF,ip=dhcp,type=veth
ostype: ubuntu
rootfs: vmstorage:subvol-104-disk-0,size=8G
swap: 1024
unprivileged: 1
lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
 
hi,

lxc.mount.entry: /dev/fuse dev/fuse none bind,create=file 0 0
instead of this you can also try activating the fuse feature? (same place as nesting)