3f2066e899
Change-Id: I7441c3514872305107293e355f4b27d5d9950ddf
47 lines
944 B
JSON
47 lines
944 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": [
|
|
"default"
|
|
],
|
|
"nets": [
|
|
{
|
|
"v4-fixed-ip": "",
|
|
"network": "",
|
|
"v6-fixed-ip": "",
|
|
"port": "890699a9-4690-4bd6-8b70-3a9c1be77ecb"
|
|
}
|
|
],
|
|
"runtime": "runc",
|
|
"hostname": "testhost",
|
|
"auto_remove": false,
|
|
"auto_heal": false,
|
|
"availability_zone": "nova",
|
|
"hints": {
|
|
"foo": "bar"
|
|
},
|
|
"mounts": [
|
|
{
|
|
"source": "myvol",
|
|
"destination": "/data"
|
|
}
|
|
]
|
|
}
|