zun/api-ref/source/samples/container-create-req.json
Madhuri Kumari cbcad3b982 Add api-ref for container operations
This patch adds api-ref for list, show, delete, update container.

Change-Id: Ic736b55bc8e71636b63d56e2984ece8301384a99
Partially-Implements: bp zun-api-doc
2017-07-04 14:59:56 +05:30

23 lines
442 B
JSON

{
"environment":{
"foo": "bar"
},
"labels":{
"app": "hello"
},
"image": "ubuntu",
"command": "/bin/sh -c 'echo hello'",
"name": "test",
"cpu": 2,
"memory": 500,
"workdir": "/home/ubuntu",
"image_pull_policy": "always",
"restart_policy":{
"Name": "no",
"MaximumRetryCount": 0
},
"interactive": "False",
"image_driver": "docker",
"security_groups": null
}