@@ -5,13 +5,13 @@ Join a swarm as a node and/or manager
55
66### Options
77
8- | Name | Type | Default | Description |
9- | :-------------------| :------------| :---------------| :------------------------------------------------------------------------------|
10- | ` --advertise-addr ` | ` string ` | | Advertised address (format: ` <ip\|interface>[:port] ` ) |
11- | ` --availability ` | ` string ` | ` active ` | Availability of the node (` active ` , ` pause ` , ` drain ` ) |
12- | ` --data-path-addr ` | ` string ` | | Address or interface to use for data path traffic (format: ` <ip\|interface> ` ) |
13- | ` --listen-addr ` | ` node-addr ` | ` 0.0.0.0:2377 ` | Listen address (format: ` <ip\|interface>[:port] ` ) |
14- | ` --token ` | ` string ` | | Token for entry into the swarm |
8+ | Name | Type | Default | Description |
9+ | :-------------------------------------- | :------------| :---------------| :------------------------------------------------------------------------------|
10+ | [ ` --advertise-addr ` ] ( #advertise-addr ) | ` string ` | | Advertised address (format: ` <ip\|interface>[:port] ` ) |
11+ | [ ` --availability ` ] ( #availability ) | ` string ` | ` active ` | Availability of the node (` active ` , ` pause ` , ` drain ` ) |
12+ | [ ` --data-path-addr ` ] ( #data-path-addr ) | ` string ` | | Address or interface to use for data path traffic (format: ` <ip\|interface> ` ) |
13+ | [ ` --listen-addr ` ] ( #listen-addr ) | ` node-addr ` | ` 0.0.0.0:2377 ` | Listen address (format: ` <ip\|interface>[:port] ` ) |
14+ | [ ` --token ` ] ( #token ) | ` string ` | | Token for entry into the swarm |
1515
1616
1717<!-- -MARKER_GEN_END-->
@@ -57,7 +57,7 @@ dkp8vy1dq1kxleu9g4u78tlag worker1 Ready Active Reachable
5757dvfxp4zseq4s0rih1selh0d20 * manager1 Ready Active Leader
5858```
5959
60- ### ` --listen-addr value `
60+ ### < a name = " listen-addr " ></ a > ` --listen-addr value `
6161
6262If the node is a manager, it will listen for inbound swarm manager traffic on this
6363address. The default is to listen on 0.0.0.0:2377. It is also possible to specify a
@@ -68,7 +68,7 @@ name, the default port 2377 will be used.
6868
6969This flag is generally not necessary when joining an existing swarm.
7070
71- ### ` --advertise-addr value `
71+ ### < a name = " advertise-addr " ></ a > ` --advertise-addr value `
7272
7373This flag specifies the address that will be advertised to other members of the
7474swarm for API access. If unspecified, Docker will check if the system has a
@@ -88,7 +88,7 @@ you're joining new nodes through a load balancer, you should use this flag to
8888ensure the node advertises its IP address and not the IP address of the load
8989balancer.
9090
91- ### ` --data-path-addr `
91+ ### < a name = " data-path-addr " ></ a > ` --data-path-addr `
9292
9393This flag specifies the address that global scope network drivers will publish towards
9494other nodes in order to reach the containers running on this node.
@@ -97,11 +97,11 @@ management traffic of the cluster.
9797If unspecified, Docker will use the same IP address or interface that is used for the
9898advertise address.
9999
100- ### ` --token string `
100+ ### < a name = " token " ></ a > ` --token string `
101101
102102Secret value required for nodes to join the swarm
103103
104- ### ` --availability `
104+ ### < a name = " availability " ></ a > ` --availability `
105105
106106This flag specifies the availability of the node at the time the node joins a master.
107107Possible availability values are ` active ` , ` pause ` , or ` drain ` .
0 commit comments