From 8b93c509824c3bfa04339a52cb30ba7460700da8 Mon Sep 17 00:00:00 2001 From: Jonas Hecht Date: Tue, 12 Sep 2017 01:49:21 +0200 Subject: [PATCH] Update b.o. Error while creating Registry Service (#4465) --- docs/deploying.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploying.md b/docs/deploying.md index 497bca0ab..0e5728079 100644 --- a/docs/deploying.md +++ b/docs/deploying.md @@ -319,7 +319,7 @@ $ docker service create \ --secret domain.crt \ --secret domain.key \ --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_TLS_CERTIFICATE=/run/secrets/domain.crt \ -e REGISTRY_HTTP_TLS_KEY=/run/secrets/domain.key \