You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
# Contributing to the Docker Compose documentation
1
+
# Contributing to the Docker Machine documentation
2
2
3
-
The documentation in this directory is part of the [this documentation](docs.docker.com). Docker uses [the Hugo static generator](http://gohugo.io/overview/introduction/) to convert project Markdown files to a static HTML site.
3
+
The documentation in this directory is part of the [this documentation](https://docs.docker.com). Docker uses [the Hugo static generator](http://gohugo.io/overview/introduction/) to convert project Markdown files to a static HTML site.
4
4
5
-
You don't need to be a Hugo expert to contribute to the compose documentation. If you are familiar with Markdown, you can modify the content in the `docs` files.
5
+
You don't need to be a Hugo expert to contribute to the machine documentation. If you are familiar with Markdown, you can modify the content in the `docs` files.
6
6
7
7
If you want to add a new file or change the location of the document in the menu, you do need to know a little more. If you want the detail of contributing, [use our contributor guide](http://docs.docker.com/project/make-a-contribution/).
8
8
@@ -27,7 +27,7 @@ If you want to add a new file or change the location of the document in the menu
27
27
docker run --rm -it -e AWS_S3_BUCKET -e NOCACHE -p 8000:8000 -e DOCKERHOST "docs-base:test-tooling" hugo server --port=8000 --baseUrl=192.168.59.103 --bind=0.0.0.0
28
28
ERROR: 2015/06/13 MenuEntry's .Url is deprecated and will be removed in Hugo 0.15. Use .URL instead.
29
29
0 of 4 drafts rendered
30
-
0 future content
30
+
0 future content
31
31
12 pages created
32
32
0 paginator pages created
33
33
0 tags created
@@ -39,43 +39,43 @@ If you want to add a new file or change the location of the document in the menu
39
39
40
40
5. Open the available server in your browser.
41
41
42
-
The documentation server has the complete menu but only the Docker Compose
42
+
The documentation server has the complete menu but only the Docker machine
43
43
documentation resolves. You can't access the other project docs from this
44
44
localized build.
45
45
46
46
## Tips on Hugo metadata and menu positioning
47
47
48
-
The top of each Docker Compose documentation file contains TOML metadata. The metadata is commented out to prevent it from appearing in GitHub.
48
+
The top of each Docker machine documentation file contains TOML metadata. The metadata is commented out to prevent it from appearing in GitHub.
49
49
50
50
<!--[metadata]>
51
51
+++
52
-
title = "Extending services in Compose"
53
-
description = "How to use Docker Compose's extends keyword to share configuration between files and projects"
The `[menu.main]` section refers to navigation defined [in the main Docker menu](https://github.com/docker/docs-base/blob/hugo/config.toml). This metadata says *add a menu item called* Extending services in Compose*to the menu with the*`smn_workdw_compose`*identifier*. If you locate the menu in the configuration, you'll find *Create multi-container applications* is the menu title.
71
+
72
+
The `[menu.main]` section refers to navigation defined [in the main Docker menu](https://github.com/docker/docs-base/blob/hugo/config.toml). This metadata says *add a menu item called* Extending services in machine*to the menu with the*`smn_workdw_machine`*identifier*. If you locate the menu in the configuration, you'll find *Create multi-container applications* is the menu title.
73
73
74
74
You can move an article in the tree by specifying a new parent. You can shift the location of the item by changing its weight. Higher numbers are heavier and shift the item to the bottom of menu. Low or no numbers shift it up.
75
75
76
76
77
77
## Other key documentation repositories
78
78
79
-
The `docker/docs-base` repository contains [the Hugo theme and menu configuration](https://github.com/docker/docs-base). If you open the `Dockerfile` you'll see the `make docs` relies on this as a base image for building the Compose documentation.
80
-
79
+
The `docker/docs-base` repository contains [the Hugo theme and menu configuration](https://github.com/docker/docs-base). If you open the `Dockerfile` you'll see the `make docs` relies on this as a base image for building the machine documentation.
80
+
81
81
The `docker/docs.docker.com` repository contains [build system for building the Docker documentation site](https://github.com/docker/docs.docker.com). Fork this repository to build the entire documentation site.
Copy file name to clipboardExpand all lines: docs/index.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ Machine on Linux or for installing Machine alone without Docker Toolbox, see the
34
34
35
35
Docker Machine allows you to provision Docker on virtual machines that reside either on your local system or on a cloud provider. Docker Machine creates a host on a VM and you use the Docker Engine client as needed to build images and create containers on the host.
36
36
37
-
To create a virtual machine, you supply Docker Machine with the name of the driver you want use. The driver represents the virtual environment. For example, on a local Linux, Mac, or Windows system the driver is typically Oracle Virtual Box. For cloud providers, Docker Machine supports drivers such as AWS, Microsoft Azure, Digital Ocean and many more. The Docker Machine reference includes a complete [list of the supported drivers](/drivers).
37
+
To create a virtual machine, you supply Docker Machine with the name of the driver you want use. The driver represents the virtual environment. For example, on a local Linux, Mac, or Windows system the driver is typically Oracle Virtual Box. For cloud providers, Docker Machine supports drivers such as AWS, Microsoft Azure, Digital Ocean and many more. The Docker Machine reference includes a complete [list of the supported drivers](drivers/index.md).
38
38
39
-
Since Docker runs on Linux, each VM that Docker Machine provisions relies on a base operating system. For convenience, there are default base operating systems. For the Oracle Virtual Box driver, this base operating system is the `boot2docker.iso`. For drivers used to connect to cloud providers, the base operating system is Ubuntu 12.04+. You can change this default when you create a machine. The Docker Machine reference includes a complete [list of the supported operating systems](/drivers/os-base).
39
+
Since Docker runs on Linux, each VM that Docker Machine provisions relies on a base operating system. For convenience, there are default base operating systems. For the Oracle Virtual Box driver, this base operating system is the `boot2docker.iso`. For drivers used to connect to cloud providers, the base operating system is Ubuntu 12.04+. You can change this default when you create a machine. The Docker Machine reference includes a complete [list of the supported operating systems](drivers/os-base.md).
40
40
41
41
For each machine you create, the Docker host address is the IP address of the
42
42
Linux VM. This address is assigned by the `docker-machine create` subcommand.
@@ -48,7 +48,7 @@ command-line to point to that machine. The `docker-machine env <machine-name>`
48
48
subcommand outputs the configuration command you should use. When you run a
49
49
container on the Docker host, the container's ports map to ports on the VM.
50
50
51
-
For a complete list of the `docker-machine` subcommands, see the [Docker Machine subcommand reference](/reference).
51
+
For a complete list of the `docker-machine` subcommands, see the [Docker Machine subcommand reference](reference/index.md).
52
52
53
53
## Getting help
54
54
@@ -70,5 +70,5 @@ For more information and resources, please visit
70
70
71
71
* Install a machine on your [local system using VirtualBox](get-started.md).
72
72
* Install multiple machines [on your cloud provider](get-started-cloud.md).
0 commit comments