Browse code

Merge pull request #27575 from yuexiao-wang/fix-cli-link

Modify the links for docker container commands

Misty Stanley-Jones authored on 2016/10/22 03:15:57
Showing 6 changed files
... ...
@@ -108,7 +108,7 @@ membership.
108 108
 If you need to access the Docker daemon remotely, you need to enable the `tcp`
109 109
 Socket. Beware that the default setup provides un-encrypted and
110 110
 un-authenticated direct access to the Docker daemon - and should be secured
111
-either using the [built in HTTPS encrypted socket](../../security/https.md), or by
111
+either using the [built in HTTPS encrypted socket](https://docs.docker.com/engine/security/https/), or by
112 112
 putting a secure web proxy in front of it. You can listen on port `2375` on all
113 113
 network interfaces with `-H tcp://0.0.0.0:2375`, or on a particular network
114 114
 interface using its IP address: `-H tcp://192.168.59.103:2375`. It is
... ...
@@ -1241,7 +1241,7 @@ The list of currently supported options that can be reconfigured is this:
1241 1241
 - `cluster-store-opts`: it uses the new options to reload the discovery store.
1242 1242
 - `cluster-advertise`: it modifies the address advertised after reloading.
1243 1243
 - `labels`: it replaces the daemon labels with a new set of labels.
1244
-- `live-restore`: Enables [keeping containers alive during daemon downtime](../../admin/live-restore.md).
1244
+- `live-restore`: Enables [keeping containers alive during daemon downtime](https://docs.docker.com/engine/admin/live-restore/).
1245 1245
 - `max-concurrent-downloads`: it updates the max concurrent downloads for each pull.
1246 1246
 - `max-concurrent-uploads`: it updates the max concurrent uploads for each push.
1247 1247
 - `default-runtime`: it updates the runtime to be used if not is
... ...
@@ -31,7 +31,7 @@ the container, `docker export` will export the contents of the *underlying*
31 31
 directory, not the contents of the volume.
32 32
 
33 33
 Refer to [Backup, restore, or migrate data
34
-volumes](../../tutorials/dockervolumes.md#backup-restore-or-migrate-data-volumes) in
34
+volumes](https://docs.docker.com/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes) in
35 35
 the user guide for examples on exporting data in a volume.
36 36
 
37 37
 ## Examples
... ...
@@ -35,7 +35,7 @@ The `docker logs` command batch-retrieves logs present at the time of execution.
35 35
 > the `json-file` or `journald` logging driver.
36 36
 
37 37
 For more information about selecting and configuring login-drivers, refer to
38
-[Configure logging drivers](../../admin/logging/overview.md).
38
+[Configure logging drivers](https://docs.docker.com/engine/admin/logging/overview/).
39 39
 
40 40
 The `docker logs --follow` command will continue streaming the new output from
41 41
 the container's `STDOUT` and `STDERR`.
... ...
@@ -41,7 +41,7 @@ If you are behind an HTTP proxy server, for example in corporate settings,
41 41
 before open a connect to registry, you may need to configure the Docker
42 42
 daemon's proxy settings, using the `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`
43 43
 environment variables. To set these environment variables on a host using
44
-`systemd`, refer to the [control and configure Docker with systemd](../../admin/systemd.md#http-proxy)
44
+`systemd`, refer to the [control and configure Docker with systemd](https://docs.docker.com/engine/admin/systemd/#http-proxy)
45 45
 for variables configuration.
46 46
 
47 47
 ## Examples
... ...
@@ -100,7 +100,7 @@ same image, their layers are stored only once and do not consume extra disk
100 100
 space.
101 101
 
102 102
 For more information about images, layers, and the content-addressable store,
103
-refer to [understand images, containers, and storage drivers](../../userguide/storagedriver/imagesandcontainers.md).
103
+refer to [understand images, containers, and storage drivers](https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/).
104 104
 
105 105
 
106 106
 ## Pull an image by digest (immutable identifier)
... ...
@@ -142,7 +142,7 @@ of all containers.
142 142
 The `docker run` command can be used in combination with `docker commit` to
143 143
 [*change the command that a container runs*](commit.md). There is additional detailed information about `docker run` in the [Docker run reference](../run.md).
144 144
 
145
-For information on connecting a container to a network, see the ["*Docker network overview*"](../../userguide/networking/index.md).
145
+For information on connecting a container to a network, see the ["*Docker network overview*"](https://docs.docker.com/engine/userguide/networking/).
146 146
 
147 147
 ## Examples
148 148
 
... ...
@@ -251,7 +251,7 @@ binary (refer to [get the linux binary](
251 251
 you give the container the full access to create and manipulate the host's
252 252
 Docker daemon.
253 253
 
254
-For in-depth information about volumes, refer to [manage data in containers](../../tutorials/dockervolumes.md)
254
+For in-depth information about volumes, refer to [manage data in containers](https://docs.docker.com/engine/tutorials/dockervolumes/)
255 255
 
256 256
 ### Publish or expose port (-p, --expose)
257 257
 
... ...
@@ -259,7 +259,7 @@ For in-depth information about volumes, refer to [manage data in containers](../
259 259
 
260 260
 This binds port `8080` of the container to port `80` on `127.0.0.1` of the host
261 261
 machine. The [Docker User
262
-Guide](../../userguide/networking/default_network/dockerlinks.md)
262
+Guide](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/)
263 263
 explains in detail how to manipulate ports in Docker.
264 264
 
265 265
     $ docker run --expose 80 ubuntu bash
... ...
@@ -371,7 +371,7 @@ format:
371 371
 You can load multiple label-files by supplying multiple  `--label-file` flags.
372 372
 
373 373
 For additional information on working with labels, see [*Labels - custom
374
-metadata in Docker*](../../userguide/labels-custom-metadata.md) in the Docker User
374
+metadata in Docker*](https://docs.docker.com/engine/userguide/labels-custom-metadata/) in the Docker User
375 375
 Guide.
376 376
 
377 377
 ### Connect a container to a network (--network)
... ...
@@ -32,7 +32,7 @@ Options:
32 32
 
33 33
 Search [Docker Hub](https://hub.docker.com) for images
34 34
 
35
-See [*Find Public Images on Docker Hub*](../../tutorials/dockerrepos.md#searching-for-images) for
35
+See [*Find Public Images on Docker Hub*](https://docs.docker.com/engine/tutorials/dockerrepos/#searching-for-images) for
36 36
 more details on finding shared images from the command line.
37 37
 
38 38
 > **Note:**