Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Swarm tutorial documentation #23364

Merged
merged 0 commits into from Jun 14, 2016
Merged

Add Swarm tutorial documentation #23364

merged 0 commits into from Jun 14, 2016

Conversation

sfsmithcha
Copy link
Contributor

@sfsmithcha sfsmithcha commented Jun 8, 2016

Add Swarm tutorial documentation.

Signed-off-by: Charles Smith charles.smith@docker.com

@icecrime icecrime changed the title add tutorial Add Swarm tutorial documentation Jun 8, 2016
@icecrime icecrime added this to the 1.12.0 milestone Jun 8, 2016
@SvenDowideit
Copy link
Contributor

the checker doesn't like docs/swarm/swarm-tutorial/delete-service.md - it looks like an empty file.

please add at least some frontmatter :)


Now your Swarm consists of a manager and two worker nodes. In the next step of the tutorial, you [deploy a service](deploy-service.md) to the Swarm.

<p style="margin-bottom:300px">&nbsp;</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? Or is this to prevent the bottom "wave" from overlapping the content? Perhaps we can address this somehow in a general style

@thaJeztah
Copy link
Member

Could you wrap to 80 chars as well?

weight="1"
+++
<![end-metadata]-->
# Docker Swarm overview #
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm did that plugin add the trailing #?

@sfsmithcha sfsmithcha force-pushed the swarm-docs branch 2 times, most recently from 3c3867d to c545e27 Compare June 8, 2016 18:11

A **service** is the definition of how to run the various tasks that make up
your application. For example, you may want to run a Redis service in your
Swarm.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is a little confusing to me. How is a service related to a Docker image? In Cloud a "service" is one or more containers of the same image. It might be worth briefly touching on this relationship.

@HackToday
Copy link
Contributor

Good to know to have swarmkit related docs here, would be helpful to understand what it relation between swarm and swarmkit and engine etc. As introduced many tools in docker world.

@sfsmithcha sfsmithcha force-pushed the swarm-docs branch 2 times, most recently from 2ec8ac1 to a89acc5 Compare June 13, 2016 05:10
5. Open a terminal and ssh into the machine where the manager node runs and run
the `docker node ls` command to see the worker nodes:

```bashtext
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you remove the bashtext? Looks like it doesn't really render properly;

screen shot 2016-06-13 at 15 57 31

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is the old css, think it is ok in the new one. however, this a suggestion from @SvenDowideit to solve a problem where an apostrophe in the column title causes everything after it to print red. that problem has gone away so setting to bash appears to work.

@sfsmithcha sfsmithcha force-pushed the swarm-docs branch 3 times, most recently from cac5e76 to 607a7ea Compare June 13, 2016 20:07
@tonistiigi tonistiigi force-pushed the swarm branch 2 times, most recently from 9646d17 to 29d0c83 Compare June 14, 2016 03:39
@icecrime
Copy link
Contributor

LGTM 👍 Merging as this is going into swarm branch for now.

@icecrime icecrime merged this pull request into moby:swarm Jun 14, 2016
@sfsmithcha sfsmithcha deleted the swarm-docs branch July 12, 2016 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

10 participants