From d0092e466082bbd918f9a0430f266a56b27ffa86 Mon Sep 17 00:00:00 2001 From: Taio Jia Date: Thu, 22 Jun 2017 03:59:05 +0800 Subject: [PATCH] Add notes (#3510) * Add notes After Docker Cloud Agent installed successfully, and run the `docker swarm init` and `docker swarm join` commands will got the errors, and can not register swarm with Docker Cloud. ``` ******************************************************************************* Docker Cloud Agent installed successfully ******************************************************************************* You can now deploy containers to this node using Docker Cloud ubuntu@test:~$ docker swarm init docker: 'swarm' is not a docker command. See 'docker --help'. ubuntu@test:~$ sudo docker run -ti --rm -v /var/run/docker.sock:/var/run/docker.sock dockercloud/registration Unable to find image 'dockercloud/registration:latest' locally latest: Pulling from dockercloud/registration 79650cf9cc01: Pull complete e720390eb80b: Pull complete 7b619be6318c: Pull complete Digest: sha256:b0c89c6a446700394c7b85d93b9b1117e517504c64577586f535ceec353628e7 Status: Downloaded newer image for dockercloud/registration:latest Error response from daemon: 404 page not found ``` So, `Use the Docker Cloud Agent to Bring your Own Host` does not support swarm mode. * formatted note, clarified Cloud standard and swarm modes Signed-off-by: Victoria Bialas * copyedits, rewrites Signed-off-by: Victoria Bialas * copyedits Signed-off-by: Victoria Bialas --- get-started/part6.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/get-started/part6.md b/get-started/part6.md index 8022242b67..048709e38e 100644 --- a/get-started/part6.md +++ b/get-started/part6.md @@ -48,7 +48,12 @@ To set up and deploy: ### Connect Docker Cloud -First, link Docker Cloud with your cloud provider: +You can run Docker Cloud in [standard +mode](/docker-cloud/infrastructure/index.md) or in [Swarm +mode](/docker-cloud/cloud-swarm/index.md). + +If you are running Docker Cloud in standard mode, follow instructions below to +link your service provider to Docker Cloud. * [Amazon Web Services setup guide](/docker-cloud/cloud-swarm/link-aws-swarm/){: onclick="ga('send', 'event', 'Get Started Referral', 'Cloud', 'AWS');"} * [DigitalOcean setup guide](/docker-cloud/infrastructure/link-do.md){: onclick="ga('send', 'event', 'Get Started Referral', 'Cloud', 'DigitalOcean');"} @@ -57,9 +62,13 @@ First, link Docker Cloud with your cloud provider: * [SoftLayer setup guide](/docker-cloud/infrastructure/link-softlayer.md){: onclick="ga('send', 'event', 'Get Started Referral', 'Cloud', 'SoftLayer');"} * [Use the Docker Cloud Agent to Bring your Own Host](/docker-cloud/infrastructure/byoh.md){: onclick="ga('send', 'event', 'Get Started Referral', 'Cloud', 'BYOH');"} +If you are running in Swarm mode (recommended for Amazon Web Services or +Microsoft Azure), then skip to the next section on how to [create your +swarm](#create-your-swarm). + ### Create your swarm -After your cloud provider is all set up, create a Swarm: +Ready to create a swarm? * If you're on Amazon Web Services (AWS) you can [automatically create a @@ -74,7 +83,12 @@ swarm on Azure](/docker-cloud/cloud-swarm/create-cloud-swarm-azure/){: onclick=" Cloud](/docker-cloud/infrastructure/ssh-into-a-node/). Finally, [enable Swarm Mode](/docker-cloud/cloud-swarm/using-swarm-mode/) by clicking the toggle at the top of the screen, and [register the - swarm](/docker-cloud/cloud-swarm/register-swarms/) you just made. +  swarm](/docker-cloud/cloud-swarm/register-swarms/) you just created. + +> **Note**: If you are [Using the Docker Cloud Agent to Bring your Own Host](/docker-cloud/infrastructure/byoh.md){: onclick="ga('send', 'event', 'Get +Started Referral', 'Cloud', 'BYOH');"}, this provider does not support swarm +mode. You can [register your own existing +swarms](/docker-cloud/cloud-swarm/register-swarms/) with Docker Cloud. ### Deploy your app