From 956f77d618404c10543162c169c8a53f66af1647 Mon Sep 17 00:00:00 2001 From: Viet Hung Nguyen Date: Thu, 19 Jan 2017 06:17:18 +0700 Subject: [PATCH] Clarify the command only for docker-machine (#1149) * Clarify the command only for docker-machine --- engine/swarm/swarm-tutorial/create-swarm.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/swarm/swarm-tutorial/create-swarm.md b/engine/swarm/swarm-tutorial/create-swarm.md index 54ac9d056e..53bd13d377 100644 --- a/engine/swarm/swarm-tutorial/create-swarm.md +++ b/engine/swarm/swarm-tutorial/create-swarm.md @@ -9,10 +9,11 @@ to create a swarm. Make sure the Docker Engine daemon is started on the host machines. 1. Open a terminal and ssh into the machine where you want to run your manager -node. For example, the tutorial uses a machine named `manager1`. + node. This tutorial uses a machine named `manager1`. If you use Docker Machine, + you can connect to it via SSH using the following command: ```bash - docker-machine ssh manager1 + $ docker-machine ssh manager1 ``` 2. Run the following command to create a new swarm: