Merge pull request #42 from mrunalp/exit_example

Add an example config to demonstrate container exit code
This commit is contained in:
Antonio Murdaca 2016-09-20 08:10:11 +02:00 committed by GitHub
commit 4459532699

28
testdata/container_exit_test.json vendored Normal file
View file

@ -0,0 +1,28 @@
{
"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
}
}
}