zun/api-ref/source/samples/container-create-resp.json

63 lines
1.5 KiB
JSON

{
"addresses": null,
"links": [
{
"href": "http://openstack.example.com/v1/containers/b0694d40-70af-4488-b104-10f66b593347",
"rel": "self"
},
{
"href": "http://openstack.example.com/containers/b0694d40-70af-4488-b104-10f66b593347",
"rel": "bookmark"
}
],
"image": "ubuntu",
"labels": {
"app": "hello"
},
"security_groups": [
"7e4eae5d-8b7b-4673-91b3-70dfb577e620"
],
"uuid": "b0694d40-70af-4488-b104-10f66b593347",
"environment": {
"foo": "bar"
},
"memory": "500",
"status": "Creating",
"workdir": "/home/ubuntu",
"status_detail": null,
"host": null,
"image_driver": "docker",
"task_state": null,
"status_reason": null,
"name": "test",
"restart_policy": {
"MaximumRetryCount": "0",
"Name": "no"
},
"ports": null,
"command": [
"/bin/sh",
"-c",
"'echo hello'"
],
"cpu": 2.0,
"interactive": false,
"tty": false,
"runtime": "runc",
"hostname": "testhost",
"auto_remove": false,
"auto_heal": false,
"privileged": false,
"disk": 0,
"user_id": "0a9cdb65757b4216935e27f333d1c48b",
"project_id": "77a89a275765486d86144caad70825e4",
"cpu_policy": "shared",
"registry_id": null,
"healthcheck": {
"test": "stat /etc/passwd || exit 1",
"interval": 3,
"retries": 2,
"timeout": 5
}
}