Skip to content

Commit 0dab4ad

Browse files
author
paigehargrave
authored
Merge branch 'master' into name-change-for-Docker-Desktop
2 parents 7b95f9a + c2d2c97 commit 0dab4ad

File tree

267 files changed

+1038
-24017
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+1038
-24017
lines changed

404.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,5 @@ notoc: true
66
tree: false
77
---
88

9-
It seems the page you're looking for doesn't exist. Maybe you're on the wrong
10-
track, maybe you found a broken link. Who knows?
11-
12-
Either way, here's a couple of options for you:
13-
14-
* [Open an issue](https://github.com/docker/docker.github.io/issues/new?title=I%20found%20a%20broken%20link&body=%3CDescribe%20how%20you%20got%20there%3E)
15-
* [Go to back](/)
16-
* [Tweet us something](https://twitter.com/docker)
9+
![https://docs.docker.com/](/images/404-docs.png)
10+
Please file an issue at [https://github.com/docker/docker.github.io](https://github.com/docker/docker.github.io/issues/new).

CONTRIBUTING.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,5 @@ know.
121121

122122
## Style guide
123123

124-
If you have questions about how to write for Docker's documentation, have a look
125-
at the [style guide](/opensource/doc-style/). The style
126-
guide provides guidance about grammar, syntax, formatting, styling, language, or
127-
tone. If something isn't clear in the guide, submit an issue to let us
128-
know or submit a pull request to help us improve it.
124+
Docker does not currently maintain a style guide. Use your best judgment, and
125+
try to follow the example set by the existing documentation.

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ You have two options:
174174
175175
To read the docs offline, you can use either a standalone container or a swarm service.
176176
To see all available tags, go to
177-
[Docker Hub](https://hub.docker.com/r/docs/docker.github.io/tags/).
177+
[Docker Hub](https://docs.docker.com/docker-hub/).
178+
178179
The following examples use the `latest` tag:
179180
180181
- Run a single container:
@@ -197,7 +198,7 @@ Either way, you can now access the docs at port 4000 on your Docker host.
197198

198199
- `/_data/toc.yaml` defines the left-hand navigation for the docs
199200
- `/js/menu.js` defines most of the docs-specific JS such as TOC generation and menu syncing
200-
- `/css/documentation.css` defines the docs-specific style rules
201+
- `/css/style.scss` defines the docs-specific style rules
201202
- `/_layouts/docs.html` is the HTML template file, which defines the header and footer, and includes all the JS/CSS that serves the docs content
202203

203204
## Relative linking for GitHub viewing

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ latest_stable_docker_engine_api_version: "1.39"
2323
docker_ce_stable_version: "18.09"
2424
docker_ce_edge_version: "18.09"
2525
docker_ee_version: "18.09"
26-
compose_version: "1.23.1"
26+
compose_version: "1.23.2"
2727
machine_version: "0.16.0"
2828
distribution_version: "2.6"
2929
dtr_version: "2.6"

_data/toc.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,8 @@ guides:
487487
title: NIST SP 800-53
488488
- path: /compliance/nist/800_190/
489489
title: NIST SP 800-190
490+
- path: /compliance/nist/fips140_2/
491+
title: FIPS 140-2
490492
- path: /compliance/nist/nistir_8176/
491493
title: NISTIR 8176
492494
- path: /compliance/nist/itl_october2017/
@@ -526,9 +528,6 @@ reference:
526528
- title: Compose file reference
527529
path: /compose/compose-file/
528530
nosync: true
529-
- title: Cloud stack file reference
530-
path: /docker-cloud/apps/stack-yaml-reference/
531-
nosync: true
532531

533532
- sectiontitle: Command-Line Interfaces (CLIs)
534533
section:
@@ -2489,8 +2488,10 @@ manuals:
24892488
path: /ee/dtr/admin/configure/deploy-caches/
24902489
- title: Cache deployment strategy
24912490
path: /ee/dtr/admin/configure/deploy-caches/strategy/
2492-
- title: Deploy a DTR cache
2491+
- title: Deploy a DTR cache with Docker Swarm
24932492
path: /ee/dtr/admin/configure/deploy-caches/simple/
2493+
- title: Deploy a DTR cache with Kubernetes
2494+
path: /ee/dtr/admin/configure/deploy-caches/simple-kube/
24942495
- title: Configure caches for high availability
24952496
path: /ee/dtr/admin/configure/deploy-caches/high-availability/
24962497
- title: Cache configuration reference

_includes/content/compose-extfields-sub.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ your Compose file and their name start with the `x-` character sequence.
99
> of service, volume, network, config and secret definitions.
1010
1111
```none
12-
version: '2.1'
12+
version: '3.4'
1313
x-custom:
1414
items:
1515
- a

_includes/kubernetes-mac-win.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Usage: {% include kubernetes-mac-win.md platform="mac" %}
1313
{% assign product = "Docker Desktop for Mac" %}
1414

1515
{% capture min-version %}{{ product }} **17.12 CE Edge**{% endcapture %}
16-
16+
1717
{% capture version-caveat %}
1818
Kubernetes is available in {{ min-version }} and higher, and **18.06 Stable** and higher
1919
{% endcapture%}
@@ -88,25 +88,32 @@ Run `kubectl get services -n my-app` to see only the services deployed in the
8888
### Override the default orchestrator
8989

9090
While testing Kubernetes, you may want to deploy some workloads in swarm mode.
91-
Use the `DOCKER_ORCHESTRATOR` variable to override the default orchestrator for
91+
Use the `DOCKER_STACK_ORCHESTRATOR` variable to override the default orchestrator for
9292
a given terminal session or a single Docker command. This variable can be unset
9393
(the default, in which case Kubernetes is the orchestrator) or set to `swarm` or
9494
`kubernetes`. The following command overrides the orchestrator for a single
9595
deployment, by setting the variable{% if platform == "mac"" %}
9696
at the start of the command itself.
9797

9898
```bash
99-
DOCKER_ORCHESTRATOR=swarm docker stack deploy --compose-file /path/to/docker-compose.yml mystack
99+
DOCKER_STACK_ORCHESTRATOR=swarm docker stack deploy --compose-file /path/to/docker-compose.yml mystack
100100
```{% elsif platform == "windows" %}
101101
before running the command.
102102
103103
```shell
104-
set DOCKER_ORCHESTRATOR=swarm
104+
set DOCKER_STACK_ORCHESTRATOR=swarm
105105
docker stack deploy --compose-file /path/to/docker-compose.yml mystack
106106
```
107107

108108
{% endif %}
109109

110+
Alternatively, the `--orchestrator` flag may be set to `swarm` or `kubernetes`
111+
when deploying to override the default orchestrator for that deployment.
112+
113+
```bash
114+
docker stack deploy --orchestrator swarm --compose-file /path/to/docker-compose.yml mystack
115+
```
116+
110117
> **Note**: Deploying the same app in Kubernetes and swarm mode may lead to
111118
> conflicts with ports and service names.
112119

_includes/toc_pure_liquid.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% comment %}
33
"...like all things liquid - where there's a will, and ~36 hours to spare, there's usually a/some way" ~jaybe
44
Usage:
5-
{% include toc_pure_liquid.html html=content sanitize=true class="inline_toc" id="my_toc" toc_min=2 toc_max=3 my_name="unnamed" %}
5+
{% include toc_pure_liquid.html html=content sanitize=true class="inline_toc" id="my_toc" toc_min=2 toc_max=3 %}
66

77
Variables:
88
* html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
@@ -11,7 +11,6 @@
1111
* id (string) - an ID to assigned to the TOC
1212
* toc_min (int) - the minimum TOC header level to use (if not set, check page, then site, then default to 2)
1313
* toc_max (int) - the maximum TOC header level to use (if not set, check page, then site, then default to 3)
14-
* page_name (string) - the URL of the page
1514

1615
Output:
1716
An unordered list representing the table of contents of a markdown block. This snippet will only generate the table of contents and will NOT output the markdown given to it
@@ -20,7 +19,6 @@
2019
{% capture my_toc %}{% endcapture %}
2120
{% assign minHeader = include.toc_min | default: 2 %}
2221
{% assign maxHeader = include.toc_max | default: 3 %}
23-
{% assign my_name = include.page_name | default: "unnamed" %}
2422
{% assign nodes = include.html | split: '<h' %}
2523

2624
{% for node in nodes %}
@@ -53,7 +51,7 @@
5351
{% endfor %}
5452

5553
{% capture my_toc %}{{ my_toc }}
56-
{{ space }}- [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}]({{ my_name }}#{{ html_id }}){: class="nomunge" }{% endcapture %}
54+
{{ space }}- [{% if include.sanitize %}{{ header | strip_html }}{% else %}{{ header }}{% endif %}](#{{ html_id }}){: class="nomunge" }{% endcapture %}
5755

5856
{% endfor %}
5957

_scss/_navigation.scss

+5
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@
9494
*
9595
*/
9696

97+
// Some links don't have 'href' attr, hence no mouse pointer
98+
.nav-sidebar li a {
99+
cursor: pointer;
100+
}
101+
97102
.nav-sidebar>li>a {
98103
padding-right: 20px;
99104
padding-left: 20px;

apidocs/README.md

-5
This file was deleted.

apidocs/cloud-api-source/Gemfile.lock

-140
This file was deleted.

apidocs/dtr-api-overview.png

-170 KB
Binary file not shown.

apidocs/index.md

-9
This file was deleted.

apidocs/overview.md

-15
This file was deleted.

0 commit comments

Comments
 (0)