From 14b2d54e439414becfb9be4f5119db8d55f2de35 Mon Sep 17 00:00:00 2001 From: AJ Bowen Date: Tue, 31 Oct 2017 15:45:30 -0700 Subject: [PATCH 1/2] Wrap bash and wait in .exercise[] block --- docs/creatingswarm.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/creatingswarm.md b/docs/creatingswarm.md index 21ec90a2..562d4e28 100644 --- a/docs/creatingswarm.md +++ b/docs/creatingswarm.md @@ -222,18 +222,16 @@ class: extra-details ] - However, Swarm commands will not work; try, for instance: + +.exercise[ ```bash docker node ls ``` - + +] - This is because the node that we added is currently a *worker* - - Only *managers* can accept Swarm-specific commands --- From 7cf622e06aef016ce5df861fb2bab773b529cdec Mon Sep 17 00:00:00 2001 From: AJ Bowen Date: Tue, 31 Oct 2017 16:56:48 -0700 Subject: [PATCH 2/2] Actually, we just need to remove the space --- docs/creatingswarm.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/creatingswarm.md b/docs/creatingswarm.md index 562d4e28..b6139b07 100644 --- a/docs/creatingswarm.md +++ b/docs/creatingswarm.md @@ -222,14 +222,11 @@ class: extra-details ] - However, Swarm commands will not work; try, for instance: - -.exercise[ ```bash docker node ls ``` - -] +```wait``` - This is because the node that we added is currently a *worker* - Only *managers* can accept Swarm-specific commands