From 2a592974a1c8fbc4e378c42ce8f7b3a1a09369b2 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Mon, 2 Feb 2015 18:08:31 -0800 Subject: [PATCH] Docs: Remove now deprecated `--discovery` flags. Fixes #351 Signed-off-by: Andrea Luzzardi --- README.md | 4 ++-- userguide.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b63e46f564..a2fb8a7130 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ $ swarm create # on each of your nodes, start the swarm agent # doesn't have to be public (eg. 192.168.0.X), # as long as the swarm manager can access it. -$ swarm join --addr= --discovery=token:// +$ swarm join --addr= token:// # start the manager on any machine or your laptop $ swarm manage -H tcp:// token:// @@ -58,7 +58,7 @@ $ docker -H tcp:// logs ... ... # list nodes in your cluster -$ swarm list --discovery=token:// +$ swarm list token:// ``` diff --git a/userguide.md b/userguide.md index 310c339fa2..a20e5a2e9f 100644 --- a/userguide.md +++ b/userguide.md @@ -56,10 +56,10 @@ $ swarm create # For each of your nodes, start a swarm agent # the Docker daemon doesn't have to be public (eg. 192.168.0.X), # as long as the swarm manager can access it. -$ swarm join --addr= --discovery token:// +$ swarm join --addr= token:// # start the manager on any machine or your laptop -$ swarm manage -H tcp:// --discovery token:// +$ swarm manage -H tcp:// token:// # use the regular docker cli $ docker -H tcp:// info @@ -69,7 +69,7 @@ $ docker -H tcp:// logs ... ... # list nodes in your cluster -$ swarm list --discovery token:// +$ swarm list token:// ```