From 7286e509016da6160b68025422a7f9d1892e390f Mon Sep 17 00:00:00 2001 From: David Young Date: Thu, 12 Oct 2017 23:58:48 +1300 Subject: [PATCH] Add command to launch registry stack --- manuscript/ha-docker-swarm/docker-swarm-mode.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manuscript/ha-docker-swarm/docker-swarm-mode.md b/manuscript/ha-docker-swarm/docker-swarm-mode.md index 70ad99d..0c41cf6 100644 --- a/manuscript/ha-docker-swarm/docker-swarm-mode.md +++ b/manuscript/ha-docker-swarm/docker-swarm-mode.md @@ -148,6 +148,8 @@ proxy: remoteurl: https://registry-1.docker.io ``` +Launch the registry stack by running ```docker stack deploy registry -c ``` + ### Enable registry mirror and experimental features To tell docker to use the registry mirror, and in order to be able to watch the logs of any service from any manager node (_an experimental feature in the current Atomic docker build_), edit **/etc/docker-latest/daemon.json** on each node, and change from: @@ -214,7 +216,7 @@ networks: !!! note Setup unique static subnets for every stack you deploy. This avoids IP/gateway conflicts which can otherwise occur when you're creating/removing stacks a lot. See [my list](/reference/networks/) here. -Launch the cleanup stack by running ```docker stack deploy docker-clenaup -c ``` +Launch the cleanup stack by running ```docker stack deploy docker-cleanup -c ``` ### Tweaks