Page MenuHomeSoftware Heritage

service_create.json
No OneTemporary

service_create.json

{
"description": "Create a new Docker service",
"input_method": "stdin",
"parameters": {
"service": {
"description": "The name of the service to create",
"type": "String[1]"
},
"image": {
"description": "The new image to use for the service",
"type": "String[1]"
},
"replicas": {
"description": "Number of replicas",
"type": "Integer"
},
"expose": {
"description": "Publish service ports externally to the swarm",
"type": "Variant[String,Array,Undef]"
},
"env": {
"description": "Set environment variables",
"type": "Optional[Hash]"
},
"command": {
"description": "Command to run on the container",
"type": "Variant[String,Array,Undef]"
},
"extra_params": {
"description": "Allows you to pass any other flag that the Docker service create supports.",
"type": "Optional[Array]"
},
"detach": {
"description": "Exit immediately instead of waiting for the service to converge",
"type": "Optional[Boolean]"
}
}
}

File Metadata

Mime Type
application/json
Expires
Sat, Jun 21, 6:17 PM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3305851

Event Timeline