Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2381aaf

Browse files
Metadata, formatting
1 parent 7388355 commit 2381aaf

File tree

6 files changed

+27
-13
lines changed

6 files changed

+27
-13
lines changed

get-started/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Get Started, Part 1: Orientation and Setup"
3+
keywords: get started, setup, orientation, quickstart, intro, concepts, containers
4+
description: Get oriented on some basics of Docker before diving into the walkthrough.
35
redirect_from:
46
- /engine/getstarted/
57
- /learn/
@@ -129,7 +131,7 @@ entanglement; a containerized app "runs anywhere."
129131
Before we get started, make sure your system has the latest version of Docker
130132
installed.
131133

132-
[Install Docker](/engine/installation/index.md){: class="button outline-btn"}
134+
[Install Docker](/engine/installation/index.md){: class="button outline-btn" style="margin-bottom: 30px; margin-right:100%"}
133135

134136
You should be able to run `docker run hello-world` and see a response like this:
135137

@@ -154,4 +156,4 @@ density is increased, and orchestrating scaling behavior is a matter of spinning
154156
up new executables, not new VM hosts. We'll be learning about all of those
155157
things, but first let's learn to walk.
156158

157-
[On to Part 2 >>](part2.md){: class="button outline-btn"}
159+
[On to Part 2 >>](part2.md){: class="button outline-btn" style="margin-bottom: 30px; margin-right: 100%"}

get-started/part2.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Get Started, Part 2: Containers"
3+
keywords: containers, python, code, coding, build, push, run
4+
description: Learn how to write, build, and run a simple app -- the Docker way.
35
---
46

57
{% include_relative nav.html selected="2" %}
@@ -57,7 +59,7 @@ after doing that, you can expect that the build of your app defined in this
5759
Create an empty directory and put this file in it, with the name `Dockerfile`.
5860
Take note of the comments that explain each statement.
5961

60-
```
62+
```conf
6163
# Use an official Python runtime as a base image
6264
FROM python:2.7-slim
6365
@@ -276,7 +278,8 @@ install anything but Docker to run it.
276278
That's all for this page. In the next section, we will learn how to scale our
277279
application by running this container in a **service**.
278280

279-
[Continue to Part 3 >>](part3.md){: class="button outline-btn"}
281+
[Continue to Part 3 >>](part3.md){: class="button outline-btn" style="margin-bottom: 30px"}
282+
280283

281284
## Recap and cheat sheet (optional)
282285

get-started/part3.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Get Started, Part 3: Services"
3+
keywords: services, replicas, scale, ports, compose, compose file, stack, networking
4+
description: Learn how to define load-balanced and scalable service that runs containers.
35
---
46
{% include_relative nav.html selected="3" %}
57

@@ -144,7 +146,7 @@ can be uploaded to cloud providers using [Docker Cloud](/docker-cloud/), or on
144146
any hardware or cloud provider you choose with [Docker Enterprise
145147
Edition](https://www.docker.com/enterprise-edition).
146148

147-
[On to "Part 4" >>](part4.md){: class="button outline-btn"}
149+
[On to "Part 4" >>](part4.md){: class="button outline-btn" style="margin-bottom: 30px"}
148150

149151
## Recap and cheat sheet (optional)
150152

@@ -161,7 +163,7 @@ it runs, using the same command that launched the service:
161163

162164
Some commands to explore at this stage:
163165

164-
```
166+
```shell
165167
docker stack ls # List all running applications on this Docker host
166168
docker stack deploy -c <composefile> <appname> # Run the specified Compose file
167169
docker stack services <appname> # List the services associated with an app

get-started/part4.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Get Started, Part 4: Swarms"
3+
keywords: swarms, scale, cluster, machine, vm, manager, deploy, ssh, orchestration
4+
description: Learn how to create clusters of Dockerized machines.
35
---
46
{% include_relative nav.html selected="4" %}
57

@@ -61,7 +63,7 @@ You can send commands to your VMs using `docker-machine ssh`. Instruct `myvm1`
6163
to become a swarm manager with `docker swarm init` and you'll see output like
6264
this:
6365

64-
```node
66+
```
6567
$ docker-machine ssh myvm1 "docker swarm init"
6668
Swarm initialized: current node <node ID> is now a manager.
6769
@@ -237,7 +239,8 @@ any machine, physical or virtual, to this swarm, using the same
237239
your cluster; just run `docker stack deploy` afterwards and your app will take
238240
advantage of the new resources.
239241

240-
[On to Part 5 >>](part5.md){: class="button outline-btn"}
242+
[On to Part 5 >>](part5.md){: class="button outline-btn" style="margin-bottom: 30px"}
243+
241244

242245
## Recap and cheat sheet (optional)
243246

@@ -255,7 +258,7 @@ your app on a cluster.
255258

256259
Here are some commands you might like to run to interact with your swarm a bit:
257260

258-
```
261+
```shell
259262
docker-machine create --driver virtualbox myvm1 # Create a VM (Mac, Win7, Linux)
260263
docker-machine create -d hyperv --hyperv-virtual-switch "myswitch" myvm1 # Win10
261264
docker-machine env myvm1 # View basic information about your node

get-started/part5.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Get Started, Part 5: Stacks"
3+
keywords: stack, data, persist, dependencies, redis, storage, volume, port
4+
description: Learn how to create a multi-container application that uses all the machines in a cluster.
35
---
46

57
{% include_relative nav.html selected="5" %}
@@ -48,7 +50,7 @@ a free visualizer service that lets us look at how our swarm is scheduling
4850
containers. Open up `docker-compose.yml` in an editor and replace its contents
4951
with the following:
5052

51-
```
53+
```yaml
5254
version: "3"
5355
services:
5456
web:
@@ -129,7 +131,7 @@ counter.
129131
Go through the same workflow once more. Save this new `docker-compose.yml` file,
130132
which finally adds a Redis service.
131133

132-
```
134+
```yaml
133135
version: "3"
134136
services:
135137
web:
@@ -213,7 +215,7 @@ $ docker-machine ssh myvm1 "docker stack deploy -c docker-compose.yml getstarted
213215
Check the results on http://localhost and you'll see that a visitor counter is
214216
now live and storing information on Redis.
215217
216-
[On to Part 6 >>](part6.md){: class="button outline-btn"}
218+
[On to Part 6 >>](part6.md){: class="button outline-btn" style="margin-bottom: 30px"}
217219
218220
## Recap (optional)
219221

get-started/part6.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
title: "Get Started, Part 6: Deploy your app"
3+
keywords: deploy, production, datacenter, cloud, aws, azure, provider, admin, enterprise
4+
description: Deploy your app to production using Docker CE or EE.
35
---
46
{% include_relative nav.html selected="6" %}
57

@@ -17,7 +19,7 @@ title: "Get Started, Part 6: Deploy your app"
1719
```
1820
docker run -p 80:80 username/repo:tag
1921
```
20-
- Have a copy of your `docker-compose.yml` from [Part 5](part5.md) handy.
22+
- Have [the final version of `docker-compose.yml` from Part 5](/get-started/part5/#persisting-data) handy.
2123

2224
## Introduction
2325

0 commit comments

Comments
 (0)