cri-o/testdata/container_exit_test.json
Mrunal Patel 13de91e323 Add an example config to demonstrate container exit
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
2016-09-19 15:30:28 -07:00

28 lines
446 B
JSON

{
"metadata": {
"name": "podsandbox1-exit-test"
},
"image": {
"image": "docker://mrunalp/exit_test:latest"
},
"args": [
"/exit_test"
],
"envs": [
{
"key": "PATH",
"value": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
}
],
"readonly_rootfs": true,
"log_path": "container.log",
"stdin": false,
"stdin_once": false,
"tty": false,
"linux": {
"user": {
"uid": 0,
"gid": 0
}
}
}