mirror of https://github.com/docker/docs.git
correct a mistake
This commit is contained in:
parent
35cd70f4f1
commit
3dee59ac95
|
@ -171,7 +171,7 @@ in mind.
|
||||||
- If you expect to run multiple service tasks on each node (such as when you
|
- If you expect to run multiple service tasks on each node (such as when you
|
||||||
have 5 nodes but run 10 replicas), you cannot specify a static target port.
|
have 5 nodes but run 10 replicas), you cannot specify a static target port.
|
||||||
Either allow Docker to assign a random high-numbered port (by leaving off the
|
Either allow Docker to assign a random high-numbered port (by leaving off the
|
||||||
`target`), or ensure that only a single instance of the service runs on a
|
`published`), or ensure that only a single instance of the service runs on a
|
||||||
given node, by using a global service rather than a replicated one, or by
|
given node, by using a global service rather than a replicated one, or by
|
||||||
using placement constraints.
|
using placement constraints.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue