Minha versão do arquivo config.json para o systemd dentro do runc:
{
"ociVersion": "1.0.0-rc1",
"platform": {
"os": "linux",
"arch": "arm"
},
"process": {
"terminal": false,
"user": {
"uid": 0,
"gid": 0
},
"args": [
"/sbin/init"
],
"env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM=xterm"
],
"cwd": "/",
"capabilities": {
"bounding": [
"CAP_KILL",
"CAP_CHOWN",
"CAP_SETGID",
"CAP_SETUID",
"CAP_NET_RAW",
"CAP_MAC_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_CHROOT",
"CAP_AUDIT_WRITE",
"CAP_NET_BIND_SERVICE"
],
"effective": [
"CAP_KILL",
"CAP_CHOWN",
"CAP_SETGID",
"CAP_SETUID",
"CAP_NET_RAW",
"CAP_MAC_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_CHROOT",
"CAP_AUDIT_WRITE",
"CAP_NET_BIND_SERVICE"
],
"inheritable": [
"CAP_KILL",
"CAP_CHOWN",
"CAP_SETGID",
"CAP_SETUID",
"CAP_NET_RAW",
"CAP_MAC_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_CHROOT",
"CAP_AUDIT_WRITE",
"CAP_NET_BIND_SERVICE"
],
"permitted": [
"CAP_KILL",
"CAP_CHOWN",
"CAP_SETGID",
"CAP_SETUID",
"CAP_NET_RAW",
"CAP_MAC_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_CHROOT",
"CAP_AUDIT_WRITE",
"CAP_NET_BIND_SERVICE"
],
"ambient": [
"CAP_KILL",
"CAP_CHOWN",
"CAP_SETGID",
"CAP_SETUID",
"CAP_NET_RAW",
"CAP_MAC_ADMIN",
"CAP_SYS_ADMIN",
"CAP_SYS_CHROOT",
"CAP_AUDIT_WRITE",
"CAP_NET_BIND_SERVICE"
]
},
"rlimits": [
{
"type": "RLIMIT_NOFILE",
"hard": 1024,
"soft": 1024
}
],
"noNewPrivileges": true
},
"root": {
"path": "rootfs",
"readonly": false
},
"hostname": "runc",
"mounts": [
{
"destination": "/proc",
"type": "proc",
"source": "proc",
"options": [
"nosuid",
"noexec",
"nodev"
]
},
{
"destination": "/dev",
"type": "tmpfs",
"source": "tmpfs",
"options": [
"nosuid",
"strictatime",
"mode=755"
]
},
{
"destination": "/dev/pts",
"type": "devpts",
"source": "devpts",
"options": [
"nosuid",
"noexec",
"newinstance",
"ptmxmode=0666",
"mode=0620",
"gid=5"
]
},
{
"destination": "/dev/shm",
"type": "tmpfs",
"source": "shm",
"options": [
"nosuid",
"noexec",
"nodev",
"mode=1777",
"size=65536k"
]
},
{
"destination": "/dev/mqueue",
"type": "mqueue",
"source": "mqueue",
"options": [
"nosuid",
"noexec",
"nodev"
]
},
{
"destination": "/sys",
"type": "sysfs",
"source": "sysfs",
"options": [
"nosuid",
"noexec",
"nodev"
]
},
{
"destination": "/sys/fs/cgroup",
"type": "bind",
"source": "/sys/fs/cgroup",
"options": [
"rbind",
"ro"
]
}
],
"linux": {
"resources": {
"devices": [
{
"allow": false,
"access": "rwm"
}
]
},
"namespaces": [
{
"type": "pid"
},
{
"type": "network"
},
{
"type": "ipc"
},
{
"type": "uts"
},
{
"type": "mount"
}
],
"maskedPaths": [
"/proc/kcore",
"/proc/latency_stats",
"/proc/timer_stats",
"/proc/sched_debug"
],
"readonlyPaths": [
"/proc/asound",
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
}