DockerAPI.Swarm (DockerAPI v0.3.0) View Source
Engines can be clustered together in a swarm. Refer to the swarm mode documentation for more information.
Official document
Link to this section Summary
Functions
Initialize a new swarm
Inspect swarm
Join an existing swarm
Leave a swarm
Unlock a locked manager
Get the unlock key
Update a swarm
Link to this section Functions
Initialize a new swarm
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmInit
Example
Please help!
Inspect swarm
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmInspect
Example
Please help!
Join an existing swarm
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmJoin
Example
Please help!
Leave a swarm
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmLeave
Example
Please help!
Unlock a locked manager
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmUnlock
Example
Please help!
Get the unlock key
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmUnlockkey
Example
Please help!
Update a swarm
Official document
https://docs.docker.com/engine/api/v1.40/#operation/SwarmUpdate
Example
Please help!