Fixed spelling of 'exammple' (#3769)
This commit is contained in:
parent
31619aedd3
commit
b19b19cc70
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ $ docker node update --label-add registry=true node1
|
||||||
Next, create the service, granting it access to the two secrets and constraining
|
Next, create the service, granting it access to the two secrets and constraining
|
||||||
it to only run on nodes with the label `registry=true`. Besides the constraint,
|
it to only run on nodes with the label `registry=true`. Besides the constraint,
|
||||||
you are also specifying that only a single replica should run at a time. The
|
you are also specifying that only a single replica should run at a time. The
|
||||||
exammple bind-mounts `/mnt/registry` on the swarm node to `/var/lib/registry/`
|
example bind-mounts `/mnt/registry` on the swarm node to `/var/lib/registry/`
|
||||||
within the container.
|
within the container.
|
||||||
|
|
||||||
By default, secrets are mounted into a service at `/run/<secret-name>`.
|
By default, secrets are mounted into a service at `/run/<secret-name>`.
|
||||||
|
|
Loading…
Reference in a new issue