Created
January 11, 2018 08:47
-
-
Save AkihiroSuda/f55fcb7db2162e981852f4d2b9bea783 to your computer and use it in GitHub Desktop.
config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ociVersion": "1.0.0", | |
"process": { | |
"terminal": true, | |
"user": { | |
"uid": 0, | |
"gid": 0 | |
}, | |
"args": [ | |
"sh" | |
], | |
"env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
"TERM=xterm" | |
], | |
"cwd": "/", | |
"capabilities": { | |
"bounding": [ | |
"CAP_CHOWN", | |
"CAP_DAC_OVERRIDE", | |
"CAP_FSETID", | |
"CAP_FOWNER", | |
"CAP_MKNOD", | |
"CAP_NET_RAW", | |
"CAP_SETGID", | |
"CAP_SETUID", | |
"CAP_SETFCAP", | |
"CAP_SETPCAP", | |
"CAP_NET_BIND_SERVICE", | |
"CAP_SYS_CHROOT", | |
"CAP_KILL", | |
"CAP_AUDIT_WRITE" | |
], | |
"effective": [ | |
"CAP_CHOWN", | |
"CAP_DAC_OVERRIDE", | |
"CAP_FSETID", | |
"CAP_FOWNER", | |
"CAP_MKNOD", | |
"CAP_NET_RAW", | |
"CAP_SETGID", | |
"CAP_SETUID", | |
"CAP_SETFCAP", | |
"CAP_SETPCAP", | |
"CAP_NET_BIND_SERVICE", | |
"CAP_SYS_CHROOT", | |
"CAP_KILL", | |
"CAP_AUDIT_WRITE" | |
], | |
"inheritable": [ | |
"CAP_CHOWN", | |
"CAP_DAC_OVERRIDE", | |
"CAP_FSETID", | |
"CAP_FOWNER", | |
"CAP_MKNOD", | |
"CAP_NET_RAW", | |
"CAP_SETGID", | |
"CAP_SETUID", | |
"CAP_SETFCAP", | |
"CAP_SETPCAP", | |
"CAP_NET_BIND_SERVICE", | |
"CAP_SYS_CHROOT", | |
"CAP_KILL", | |
"CAP_AUDIT_WRITE" | |
], | |
"permitted": [ | |
"CAP_CHOWN", | |
"CAP_DAC_OVERRIDE", | |
"CAP_FSETID", | |
"CAP_FOWNER", | |
"CAP_MKNOD", | |
"CAP_NET_RAW", | |
"CAP_SETGID", | |
"CAP_SETUID", | |
"CAP_SETFCAP", | |
"CAP_SETPCAP", | |
"CAP_NET_BIND_SERVICE", | |
"CAP_SYS_CHROOT", | |
"CAP_KILL", | |
"CAP_AUDIT_WRITE" | |
], | |
"ambient": [ | |
"CAP_CHOWN", | |
"CAP_DAC_OVERRIDE", | |
"CAP_FSETID", | |
"CAP_FOWNER", | |
"CAP_MKNOD", | |
"CAP_NET_RAW", | |
"CAP_SETGID", | |
"CAP_SETUID", | |
"CAP_SETFCAP", | |
"CAP_SETPCAP", | |
"CAP_NET_BIND_SERVICE", | |
"CAP_SYS_CHROOT", | |
"CAP_KILL", | |
"CAP_AUDIT_WRITE" | |
] | |
}, | |
"rlimits": [ | |
{ | |
"type": "RLIMIT_NOFILE", | |
"hard": 1024, | |
"soft": 1024 | |
} | |
], | |
"noNewPrivileges": true | |
}, | |
"root": { | |
"path": "rootfs", | |
"readonly": false | |
}, | |
"hostname": "runc", | |
"mounts": [ | |
{ | |
"destination": "/proc", | |
"type": "proc", | |
"source": "proc" | |
}, | |
{ | |
"destination": "/dev", | |
"type": "tmpfs", | |
"source": "tmpfs", | |
"options": [ | |
"nosuid", | |
"strictatime", | |
"mode=755", | |
"size=65536k" | |
] | |
}, | |
{ | |
"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", | |
"ro" | |
] | |
}, | |
{ | |
"destination": "/sys/fs/cgroup", | |
"type": "cgroup", | |
"source": "cgroup", | |
"options": [ | |
"nosuid", | |
"noexec", | |
"nodev", | |
"relatime", | |
"ro" | |
] | |
} | |
], | |
"linux": { | |
"resources": { | |
"devices": [ | |
{ | |
"allow": false, | |
"access": "rwm" | |
} | |
] | |
}, | |
"namespaces": [ | |
{ | |
"type": "pid" | |
}, | |
{ | |
"type": "ipc" | |
}, | |
{ | |
"type": "uts" | |
}, | |
{ | |
"type": "mount" | |
} | |
], | |
"maskedPaths": [ | |
"/proc/kcore", | |
"/proc/latency_stats", | |
"/proc/timer_list", | |
"/proc/timer_stats", | |
"/proc/sched_debug", | |
"/sys/firmware", | |
"/proc/scsi" | |
], | |
"readonlyPaths": [ | |
"/proc/asound", | |
"/proc/bus", | |
"/proc/fs", | |
"/proc/irq", | |
"/proc/sys", | |
"/proc/sysrq-trigger" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment