Update Container Description
Only Solution users, Container admins and System admins can update ContainerDescriptions.
The id of the ContainerDescription
The ContainerDescription to be updated.
{
"cpuShares": 0,
"volumesFrom": [
"string"
],
"memorySwapLimit": 0,
"deploymentPolicyId": "string",
"hostname": "string",
"capAdd": [
"string"
],
"zoneId": "string",
"groupLinks": [
"string"
],
"links": [
"string"
],
"id": "string",
"parentDescriptionLink": "string",
"networkMode": "string",
"image": "string",
"dependsOn": [
"string"
],
"workingDir": "string",
"dns": [
"string"
],
"volumes": [
"string"
],
"privileged": false,
"_cluster": 0,
"documentSelfLink": "string",
"domainName": "string",
"name": "string",
"capDrop": [
"string"
],
"memoryLimit": 0,
"tenantLinks": [
"string"
],
"entryPoint": [
"string"
],
"device": [
"string"
],
"desc": "string",
"affinity": [
"string"
],
"maximumRetryCount": 0,
"pidMode": "string",
"pod": "string",
"instanceAdapterReference": "string",
"portBindings": [
{
"protocol": "string",
"hostIp": "string",
"containerPort": "string",
"hostPort": "string"
}
],
"extraHosts": [
"string"
],
"tagLinks": [
"string"
],
"logConfig": {
"type": "string"
},
"documentExpirationTimeMicros": "string",
"volumeDriver": "string",
"imageReference": "string",
"env": [
"string"
],
"restartPolicy": "string",
"command": [
"string"
],
"documentUpdateTimeMicros": "string",
"healthConfig": {
"ignoreOnProvision": false,
"protocol": "string",
"httpVersion": "string",
"port": 0,
"autoredeploy": false,
"unhealthyThreshold": 0,
"timeoutMillis": 0,
"healthyThreshold": 0,
"httpMethod": "string",
"urlPath": "string",
"command": "string"
},
"regionId": "string",
"dnsSearch": [
"string"
],
"publishAll": false,
"user": "string"
}
cpuShares
volumesFrom
memorySwapLimit
deploymentPolicyId
hostname
capAdd
zoneId
groupLinks
links
id
parentDescriptionLink
networkMode
image
dependsOn
workingDir
dns
volumes
privileged
_cluster
customProperties
documentSelfLink
domainName
name
capDrop
memoryLimit
tenantLinks
entryPoint
device
desc
affinity
maximumRetryCount
pidMode
pod
networks
instanceAdapterReference
extraHosts
tagLinks
documentExpirationTimeMicros
volumeDriver
imageReference
env
restartPolicy
command
documentUpdateTimeMicros
regionId
dnsSearch
publishAll
user
'OK' is returned when the ContainerDescription is updated.