Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9123877
service_create.json
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
service_create.json
View Options
{
"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
Details
Attached
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
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment