-
-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
Long story short
Currently there is no way to set some additional parameters when creating a swarm. For example "DefaultAddrPool" is missing as it exists in the documentation: https://docs.docker.com/engine/api/v1.40/#operation/SwarmInit
The code only allows some predefined parameters:
Lines 31 to 36 in 335acad
| data = { | |
| "AdvertiseAddr": advertise_addr, | |
| "ListenAddr": listen_addr, | |
| "ForceNewCluster": force_new_cluster, | |
| "Spec": swarm_spec, | |
| } |
Maybe it would be possible to allow kwargs to specify custom parameters?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels