DockerAPI.Service (DockerAPI v0.3.0) View Source

Services are the definitions of tasks to run on a swarm. Swarm mode must be enabled for these endpoints to work.

Official document

https://docs.docker.com/engine/api/v1.40/#tag/Service

Link to this section Summary

Link to this section Functions

Link to this function

create(conn, body \\ %{})

View Source

Create a service

Official document

https://docs.docker.com/engine/api/v1.40/#operation/ServiceCreate

Example

Please help!

Link to this function

create!(conn, body \\ %{})

View Source

DockerAPI.Service.create/2

Delete a service

Official document

https://docs.docker.com/engine/api/v1.40/#operation/ServiceDelete

Example

Please help!

DockerAPI.Service.delete/1

Link to this function

inspect(service, params \\ [])

View Source

Inspect a service

Official document

https://docs.docker.com/engine/api/v1.40/#operation/ServiceInspect

Example

Please help!

Link to this function

inspect!(service, params \\ [])

View Source

DockerAPI.Service.inspect/2

Link to this function

list(conn, params \\ [])

View Source

List services

Official document

https://docs.docker.com/engine/api/v1.40/#operation/ServiceList

Example

Please help!

Link to this function

list!(conn, params \\ [])

View Source

DockerAPI.Service.list/2

Link to this function

logs(service, params \\ [])

View Source

Unimplemented: Get service logs

Official document

https://docs.docker.com/engine/api/v1.40/#operation/ServiceLogs

Example

Please help!

Link to this function

logs!(service, params \\ [])

View Source

DockerAPI.Service.logs/2

Link to this function

update(service, params \\ [])

View Source

Update a service

Official document

https://docs.docker.com/engine/api/v1.40/#operation/ServiceUpdate

Example

Please help!

Link to this function

update!(service, params \\ [])

View Source

DockerAPI.Service.update/2