Update docs for new publish syntax (#5323)
This commit is contained in:
parent
3d5f8b0380
commit
936007524a
@ -325,7 +325,7 @@ $ docker service create \
|
||||
-e REGISTRY_HTTP_ADDR=0.0.0.0:80 \
|
||||
-e REGISTRY_HTTP_TLS_CERTIFICATE=/run/secrets/domain.crt \
|
||||
-e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \
|
||||
-p 80:80 \
|
||||
--publish target=80,port=80 \
|
||||
--replicas 1 \
|
||||
registry:2
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user