Skip to content

Commit d4e19a1

Browse files
author
Mano Marks
authored
Merge pull request docker#312 from ManoMarks/master
updating instructions on swarm mode lab to encourage using PWD
2 parents 2474eb9 + b10e4be commit d4e19a1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

swarm-mode/beginner-tutorial/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# Docker Swarm Tutorial
2+
> **Note:** This tutorial uses Docker Machine to simulate multiple machines on you desktop. There's an easier way to learn swarm mode, and that is using [Play with Docker](http://training.play-with-docker.com/swarm-mode-intro/). This tutorial is preserved for legacy reasons, and also in case you really want to learn to do this on your own machine.
3+
24
Docker includes swarm mode for natively managing a cluster of Docker Engines called a swarm. You can use the Docker CLI to create a swarm, deploy application services to a swarm, and manage swarm behavior. This tutorial uses [Docker Machine](https://docs.docker.com/machine/) to create multiple nodes on your desktop. If you prefer you can create those nodes in your own cloud or on multiple machines.
35

4-
>**Important Note**
6+
> **Important Note**
57
You don't need to use the Docker CLI to perform these operations. You can use `docker stack deploy --compose-file STACKNAME.yml STACKNAME` instead. For an introduction to using a stack file in a compose file format to deploy an app, check out [Deploying an app to a Swarm](https://github.com/docker/labs/blob/master/beginner/chapters/votingapp.md).
68

79
## Preparation
810
You need to have Docker and Docker Machine installed on your system. [Download Docker](https://docker.com/getdocker) for your platform and install it.
911

10-
>**Tips:**
12+
> **Tips:**
1113
>
1214
* If you are using Docker for Mac or Docker for Windows, you already have Docker Machine, as it is installed with those applications. See [Download Docker for Mac](https://docs.docker.com/docker-for-mac/#/download-docker-for-mac) and [Download Docker for Windows](https://docs.docker.com/docker-for-windows/#/download-docker-for-windows) for install options and details on what gets installed.
1315
>

swarm-mode/beginner-tutorial/swarm-node-hyperv-setup.ps1

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
$managers=3
44
$workers=3
5+
6+
# Change the SwitchName to the name of your virtual switch
57
$SwitchName = "New Virtual Switch"
68

79
# create manager machines

0 commit comments

Comments
 (0)