Files
acrn-hypervisor/devicemodel/samples/apl-mrb/runC.json
Long Liu 5690b7626f ACRN: dm: Change runC container's start arguments
Change the default runC container start application to sh which will be
modified by launch_uos.sh during UOS boot. And the replacement is the
parameter set by "acrnctl add" command.

Tracked-On: #2020
Signed-off-by: Long Liu <long.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
2019-02-25 20:24:22 +08:00

97 lines
1.4 KiB
JSON

{
"ociVersion": "1.0.1-dev",
"process": {
"terminal": false,
"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_SYS_ADMIN",
"CAP_SYS_RESOURCE",
"CAP_WAKE_ALARM",
"CAP_SYS_MODULE"
],
"effective": [
"CAP_SYS_ADMIN",
"CAP_SYS_RESOURCE",
"CAP_WAKE_ALARM",
"CAP_SYS_MODULE"
],
"inheritable": [
"CAP_SYS_ADMIN",
"CAP_SYS_RESOURCE",
"CAP_WAKE_ALARM",
"CAP_SYS_MODULE"
],
"permitted": [
"CAP_SYS_ADMIN",
"CAP_SYS_RESOURCE",
"CAP_WAKE_ALARM",
"CAP_SYS_MODULE"
],
"ambient": [
"CAP_SYS_ADMIN",
"CAP_SYS_RESOURCE",
"CAP_WAKE_ALARM",
"CAP_SYS_MODULE"
]
}
},
"root": {
"path": "rootfs",
"readonly": false
},
"hostname": "runc",
"mounts": [
{
"destination": "/",
"type": "none",
"source": "/",
"options": ["rbind","rw"]
}
],
"linux": {
"resources": {
"devices": [
{
"allow": true,
"access": "rwm"
}
]
},
"uidMappings": [
{
"hostID": 0,
"containerID": 0,
"size": 1
}
],
"gidMappings": [
{
"hostID": 0,
"containerID": 0,
"size": 1
}
],
"namespaces": [
{
"type": "pid"
},
{
"type": "uts"
}
]
}
}