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: compose/compose-file.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ Override the default command.
171
171
172
172
command: bundle exec thin -p 3000
173
173
174
-
The command can also be a list, in a manner similar to [dockerfile](https://docs.docker.com/engine/reference/builder/#cmd):
174
+
The command can also be a list, in a manner similar to [dockerfile](/engine/reference/builder/#cmd):
175
175
176
176
command: [bundle, exec, thin, -p, 3000]
177
177
@@ -264,7 +264,7 @@ Override the default entrypoint.
264
264
265
265
entrypoint: /code/entrypoint.sh
266
266
267
-
The entrypoint can also be a list, in a manner similar to [dockerfile](https://docs.docker.com/engine/reference/builder/#entrypoint):
267
+
The entrypoint can also be a list, in a manner similar to [dockerfile](/engine/reference/builder/#entrypoint):
268
268
269
269
entrypoint:
270
270
- php
@@ -413,7 +413,7 @@ options and tags it with the specified tag.
413
413
414
414
### labels
415
415
416
-
Add metadata to containers using [Docker labels](https://docs.docker.com/engine/userguide/labels-custom-metadata/). You can use either an array or a dictionary.
416
+
Add metadata to containers using [Docker labels](/engine/userguide/labels-custom-metadata/). You can use either an array or a dictionary.
417
417
418
418
It's recommended that you use reverse-DNS notation to prevent your labels from conflicting with those used by other software.
419
419
@@ -462,7 +462,7 @@ Logging configuration for the service.
462
462
463
463
The `driver` name specifies a logging driver for the service's
464
464
containers, as with the ``--log-driver`` option for docker run
Copy file name to clipboardExpand all lines: compose/networking.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ title: Networking in Compose
14
14
> **Note:** This document only applies if you're using [version 2 of the Compose file format](compose-file.md#versioning). Networking features are not supported for version 1 (legacy) Compose files.
15
15
16
16
By default Compose sets up a single
17
-
[network](https://docs.docker.com/engine/reference/commandline/network_create/) for your app. Each
17
+
[network](/engine/reference/commandline/network_create/) for your app. Each
18
18
container for a service joins the default network and is both *reachable* by
19
19
other containers on that network, and *discoverable* by them at a hostname
20
20
identical to the container name.
@@ -77,11 +77,11 @@ See the [links reference](compose-file.md#links) for more information.
77
77
78
78
When [deploying a Compose application to a Swarm cluster](swarm.md), you can make use of the built-in `overlay` driver to enable multi-host communication between containers with no changes to your Compose file or application code.
79
79
80
-
Consult the [Getting started with multi-host networking](https://docs.docker.com/engine/userguide/networking/get-started-overlay/) to see how to set up a Swarm cluster. The cluster will use the `overlay` driver by default, but you can specify it explicitly if you prefer - see below for how to do this.
80
+
Consult the [Getting started with multi-host networking](/engine/userguide/networking/get-started-overlay/) to see how to set up a Swarm cluster. The cluster will use the `overlay` driver by default, but you can specify it explicitly if you prefer - see below for how to do this.
81
81
82
82
## Specifying custom networks
83
83
84
-
Instead of just using the default app network, you can specify your own networks with the top-level `networks` key. This lets you create more complex topologies and specify [custom network drivers](https://docs.docker.com/engine/extend/plugins_network/) and options. You can also use it to connect services to externally-created networks which aren't managed by Compose.
84
+
Instead of just using the default app network, you can specify your own networks with the top-level `networks` key. This lets you create more complex topologies and specify [custom network drivers](/engine/extend/plugins_network/) and options. You can also use it to connect services to externally-created networks which aren't managed by Compose.
85
85
86
86
Each service can specify what networks to connect to with the *service-level*`networks` key, which is a list of names referencing entries under the *top-level*`networks` key.
Copy file name to clipboardExpand all lines: compose/swarm.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,10 @@ format](compose-file.md#versioning) you are using:
25
25
26
26
- subject to the [limitations](swarm.md#limitations) described below,
27
27
28
-
- as long as the Swarm cluster is configured to use the [overlay driver](https://docs.docker.com/engine/userguide/networking/dockernetworks/#an-overlay-network),
28
+
- as long as the Swarm cluster is configured to use the [overlay driver](/engine/userguide/networking/dockernetworks/#an-overlay-network),
29
29
or a custom driver which supports multi-host networking.
30
30
31
-
Read [Get started with multi-host networking](https://docs.docker.com/engine/userguide/networking/get-started-overlay/) to see how to
31
+
Read [Get started with multi-host networking](/engine/userguide/networking/get-started-overlay/) to see how to
32
32
set up a Swarm cluster with [Docker Machine](/machine/overview.md) and the overlay driver. Once you've got it running, deploying your app to it should be as simple as:
33
33
34
34
$ eval "$(docker-machine env --swarm <name of swarm master machine>)"
Copy file name to clipboardExpand all lines: compose/wordpress.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ This pulls the needed images, and starts the wordpress and database containers,
94
94
95
95
### Bring up WordPress in a web browser
96
96
97
-
If you're using [Docker Machine](https://docs.docker.com/machine/), then `docker-machine ip MACHINE_VM` gives you the machine address and you can open `http://MACHINE_VM_IP:8000` in a browser.
97
+
If you're using [Docker Machine](/machine/), then `docker-machine ip MACHINE_VM` gives you the machine address and you can open `http://MACHINE_VM_IP:8000` in a browser.
98
98
99
99
At this point, WordPress should be running on port `8000` of your Docker Host, and you can complete the "famous five-minute installation" as a WordPress administrator.
Copy file name to clipboardExpand all lines: docker-cloud/apps/ports.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ title: Publish and expose service or container ports
12
12
13
13
# Publish and expose service or container ports
14
14
15
-
In Docker Cloud you can **publish** or **expose** ports in services and containers, just like you can in Docker Engine (as documented [here](https://docs.docker.com/reference/run/#expose-incoming-ports) ).
15
+
In Docker Cloud you can **publish** or **expose** ports in services and containers, just like you can in Docker Engine (as documented [here](/reference/run/#expose-incoming-ports) ).
16
16
17
17
***Exposed ports** are ports that a container or service is using either to
18
18
provide a service, or listen on. By default, exposed ports in Docker Cloud are
Copy file name to clipboardExpand all lines: docker-cloud/apps/service-links.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Docker Cloud creates a per-user overlay network which connects all containers ac
17
17
Docker Cloud gives your containers two ways find other services:
18
18
19
19
* Using service and container names directly as **hostnames**
20
-
* Using **service links**, which are based on [Docker Compose links](https://docs.docker.com/compose/compose-file/#links)
20
+
* Using **service links**, which are based on [Docker Compose links](/compose/compose-file/#links)
21
21
22
22
**Service and Container Hostnames** update automatically when a service scales up or down or redeploys. As a user, you can configure service names, and Docker Cloud uses these names to find the IP of the services and containers for you. You can use hostnames in your code to provide abstraction that allows you to easily swap service containers or components.
23
23
@@ -55,7 +55,7 @@ If the container making the query is part of a stack, and there is a local match
55
55
56
56
## Using service links for service discovery
57
57
58
-
Docker Cloud's service linking is modeled on [Docker Compose links](https://docs.docker.com/compose/compose-file/#links) to provide a basic service discovery functionality using directional links recorded in environment variables.
58
+
Docker Cloud's service linking is modeled on [Docker Compose links](/compose/compose-file/#links) to provide a basic service discovery functionality using directional links recorded in environment variables.
59
59
60
60
When you link a "client" service to a "server" service, Docker Cloud performs the following actions on the "client" service:
0 commit comments