Skip to content

Commit

Permalink
updating instructions on swarm mode lab to encourage using Play with …
Browse files Browse the repository at this point in the history
…Docker
  • Loading branch information
ManoMarks committed Jul 26, 2017
1 parent 2474eb9 commit b10e4be
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions swarm-mode/beginner-tutorial/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Docker Swarm Tutorial
> **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.
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.

>**Important Note**
> **Important Note**
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).

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

>**Tips:**
> **Tips:**
>
* 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.
>
Expand Down
2 changes: 2 additions & 0 deletions swarm-mode/beginner-tutorial/swarm-node-hyperv-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

$managers=3
$workers=3

# Change the SwitchName to the name of your virtual switch
$SwitchName = "New Virtual Switch"

# create manager machines
Expand Down

0 comments on commit b10e4be

Please sign in to comment.