Remove "secrets" leftovers from docs
f5e1f6f6880391a5a3399023cf93a3c48502e57d replaced "secrets" with "join tokens", which also removed the "auto-accept" policy. This removes some remaining references to those features. Note that there are other references, but those are already addressed in another pull request. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a35ae076b4
commit
2a87a358d4
@ -29,12 +29,14 @@ Lists all the nodes that the Docker Swarm manager knows about. You can filter us
|
|||||||
|
|
||||||
Example output:
|
Example output:
|
||||||
|
|
||||||
$ docker node ls
|
```bash
|
||||||
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
$ docker node ls
|
||||||
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
|
|
||||||
38ciaotwjuritcdtn9npbnkuz swarm-worker1 Ready Active
|
|
||||||
e216jshn25ckzbvmwlnh5jr3g * swarm-manager1 Ready Active Leader
|
|
||||||
|
|
||||||
|
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
||||||
|
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
|
||||||
|
38ciaotwjuritcdtn9npbnkuz swarm-worker1 Ready Active
|
||||||
|
e216jshn25ckzbvmwlnh5jr3g * swarm-manager1 Ready Active Leader
|
||||||
|
```
|
||||||
|
|
||||||
## Filtering
|
## Filtering
|
||||||
|
|
||||||
@ -53,18 +55,23 @@ The `name` filter matches on all or part of a node name.
|
|||||||
|
|
||||||
The following filter matches the node with a name equal to `swarm-master` string.
|
The following filter matches the node with a name equal to `swarm-master` string.
|
||||||
|
|
||||||
$ docker node ls -f name=swarm-manager1
|
```bash
|
||||||
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
$ docker node ls -f name=swarm-manager1
|
||||||
e216jshn25ckzbvmwlnh5jr3g * swarm-manager1 Ready Active Leader
|
|
||||||
|
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
||||||
|
e216jshn25ckzbvmwlnh5jr3g * swarm-manager1 Ready Active Leader
|
||||||
|
```
|
||||||
|
|
||||||
### id
|
### id
|
||||||
|
|
||||||
The `id` filter matches all or part of a node's id.
|
The `id` filter matches all or part of a node's id.
|
||||||
|
|
||||||
$ docker node ls -f id=1
|
```bash
|
||||||
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
$ docker node ls -f id=1
|
||||||
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
|
|
||||||
|
|
||||||
|
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
||||||
|
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
|
||||||
|
```
|
||||||
|
|
||||||
#### label
|
#### label
|
||||||
|
|
||||||
@ -75,6 +82,7 @@ The following filter matches nodes with the `usage` label regardless of its valu
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ docker node ls -f "label=foo"
|
$ docker node ls -f "label=foo"
|
||||||
|
|
||||||
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
|
||||||
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
|
1bcef6utixb0l0ca7gxuivsj0 swarm-worker2 Ready Active
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user