Skip to content

swarm_manager job from docker/30.0.0-rc.3

Github source: 0b75642 or master branch

Properties

advertise

Address of the Swarm Manager joining the cluster. Other Swarm Manager(s) MUST be able to reach the Swarm Manager at this address.

api_enable_cors

Enable CORS headers in the remote API

Default
false

debug

Enable debug mode

Default
false

env

http_proxy

HTTP proxy that Docker should use

https_proxy

HTTPS proxy that Docker should use

no_proxy

List of comma-separated hosts that Docker should skip connecting to the proxy

filters

Filters to use [health, port, dependency, affinity, constraint]

Default
  - health
  - port
  - dependency
  - affinity
  - constraint

heartbeat

Time in second between each heartbeat

Default
20s

listen_address

Listen address

Default
0.0.0.0

log_level

Log level (options: debug, info, warn, error, fatal, panic)

Default
info

overcommit

Overcommit to apply on resources

Default
"0.5"

port

Listen port

Default
"2375"

replication

Enable Swarm manager replication

Default
false

replication_ttl

Leader lock release time on failure

Default
30s

strategy

Placement strategy to use [spread, binpack, random]

Default
spread

swarm

discovery

Defaults to BOSH links. Override with swarm discovery string (ie: consul:///, etcd://,/, zk://,/, [nodes://],

discovery_options

Swarm discovery options

Default
[]

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/swarm_manager/ directory (learn more).

  • bin/ctl (from bin/ctl)
  • bin/job_properties.sh (from bin/job_properties.sh.erb)
  • config/docker.cacert (from config/docker.cacert.erb)
  • config/docker.cert (from config/docker.cert.erb)
  • config/docker.key (from config/docker.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.