forked from TrueCloudLab/distribution
Update b.o. Error while creating Registry Service (#4465)
This commit is contained in:
parent
675ffdbdaf
commit
8b93c50982
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ $ docker service create \
|
||||||
--secret domain.crt \
|
--secret domain.crt \
|
||||||
--secret domain.key \
|
--secret domain.key \
|
||||||
--label registry=true \
|
--label registry=true \
|
||||||
-v /mnt/registry:/var/lib/registry \
|
--mount src=/mnt/registry,dst=/var/lib/registry \
|
||||||
-e REGISTRY_HTTP_ADDR=0.0.0.0:80 \
|
-e REGISTRY_HTTP_ADDR=0.0.0.0:80 \
|
||||||
-e REGISTRY_HTTP_TLS_CERTIFICATE=/run/secrets/domain.crt \
|
-e REGISTRY_HTTP_TLS_CERTIFICATE=/run/secrets/domain.crt \
|
||||||
-e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \
|
-e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \
|
||||||
|
|
Loading…
Reference in a new issue