i'm assuming it also doesn't allow nested confined containers
i'm assuming it also doesn't allow nested confined containers
label=nested context= flag and this causes the selinux operations to fail because the selinux context is hardcoded by podman and can't be modified in the overlayfs layerrootcontext= instead which only sets the selinux context of the rootfs inode--privileged if you want thiscontext= stuff abovelabel=nestedcontext=context=rootcontext=--privilegedbash-5.2# cat podmansh.container
[Unit]
Description=The podmansh container
After=local-fs.target
ExecStartPre=-/bin/mkdir -p %h/data
[Container]
Image=quay.io/toolbx-images/ubuntu-toolbox:latest
ContainerName=podmansh
RemapUsers=keep-id
PodmanArgs=--security-opt=unmask=/sys/fs/selinux \
--privileged
RunInit=yes
Volume=%h/data:%h:Z
Volume=/etc/selinux:/etc/selinux
WorkingDir=%h
Exec=sleep infinity
Network=host
[Service]
ExecStartPre=/usr/bin/mkdir -p %h/data
TimeoutStartSec=900
[Install]
RequiredBy=default.target