Browse code

Modify the links for docker container commands

Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>

yuexiao-wang authored on 2016/10/20 22:52:47
Showing 6 changed files
... ...
@@ -99,7 +99,7 @@ membership.
99 99
 If you need to access the Docker daemon remotely, you need to enable the `tcp`
100 100
 Socket. Beware that the default setup provides un-encrypted and
101 101
 un-authenticated direct access to the Docker daemon - and should be secured
102
-either using the [built in HTTPS encrypted socket](../../security/https.md), or by
102
+either using the [built in HTTPS encrypted socket](https://docs.docker.com/engine/security/https/), or by
103 103
 putting a secure web proxy in front of it. You can listen on port `2375` on all
104 104
 network interfaces with `-H tcp://0.0.0.0:2375`, or on a particular network
105 105
 interface using its IP address: `-H tcp://192.168.59.103:2375`. It is
... ...
@@ -1232,7 +1232,7 @@ The list of currently supported options that can be reconfigured is this:
1232 1232
 - `cluster-store-opts`: it uses the new options to reload the discovery store.
1233 1233
 - `cluster-advertise`: it modifies the address advertised after reloading.
1234 1234
 - `labels`: it replaces the daemon labels with a new set of labels.
1235
-- `live-restore`: Enables [keeping containers alive during daemon downtime](../../admin/live-restore.md).
1235
+- `live-restore`: Enables [keeping containers alive during daemon downtime](https://docs.docker.com/engine/admin/live-restore/).
1236 1236
 - `max-concurrent-downloads`: it updates the max concurrent downloads for each pull.
1237 1237
 - `max-concurrent-uploads`: it updates the max concurrent uploads for each push.
1238 1238
 - `default-runtime`: it updates the runtime to be used if not is
... ...
@@ -22,7 +22,7 @@ the container, `docker export` will export the contents of the *underlying*
22 22
 directory, not the contents of the volume.
23 23
 
24 24
 Refer to [Backup, restore, or migrate data
25
-volumes](../../tutorials/dockervolumes.md#backup-restore-or-migrate-data-volumes) in
25
+volumes](https://docs.docker.com/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes) in
26 26
 the user guide for examples on exporting data in a volume.
27 27
 
28 28
 ## Examples
... ...
@@ -26,7 +26,7 @@ The `docker logs` command batch-retrieves logs present at the time of execution.
26 26
 > the `json-file` or `journald` logging driver.
27 27
 
28 28
 For more information about selecting and configuring login-drivers, refer to
29
-[Configure logging drivers](../../admin/logging/overview.md).
29
+[Configure logging drivers](https://docs.docker.com/engine/admin/logging/overview/).
30 30
 
31 31
 The `docker logs --follow` command will continue streaming the new output from
32 32
 the container's `STDOUT` and `STDERR`.
... ...
@@ -32,7 +32,7 @@ If you are behind an HTTP proxy server, for example in corporate settings,
32 32
 before open a connect to registry, you may need to configure the Docker
33 33
 daemon's proxy settings, using the `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`
34 34
 environment variables. To set these environment variables on a host using
35
-`systemd`, refer to the [control and configure Docker with systemd](../../admin/systemd.md#http-proxy)
35
+`systemd`, refer to the [control and configure Docker with systemd](https://docs.docker.com/engine/admin/systemd/#http-proxy)
36 36
 for variables configuration.
37 37
 
38 38
 ## Examples
... ...
@@ -91,7 +91,7 @@ same image, their layers are stored only once and do not consume extra disk
91 91
 space.
92 92
 
93 93
 For more information about images, layers, and the content-addressable store,
94
-refer to [understand images, containers, and storage drivers](../../userguide/storagedriver/imagesandcontainers.md).
94
+refer to [understand images, containers, and storage drivers](https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/).
95 95
 
96 96
 
97 97
 ## Pull an image by digest (immutable identifier)
... ...
@@ -133,7 +133,7 @@ of all containers.
133 133
 The `docker run` command can be used in combination with `docker commit` to
134 134
 [*change the command that a container runs*](commit.md). There is additional detailed information about `docker run` in the [Docker run reference](../run.md).
135 135
 
136
-For information on connecting a container to a network, see the ["*Docker network overview*"](../../userguide/networking/index.md).
136
+For information on connecting a container to a network, see the ["*Docker network overview*"](https://docs.docker.com/engine/userguide/networking/).
137 137
 
138 138
 ## Examples
139 139
 
... ...
@@ -242,7 +242,7 @@ binary (refer to [get the linux binary](
242 242
 you give the container the full access to create and manipulate the host's
243 243
 Docker daemon.
244 244
 
245
-For in-depth information about volumes, refer to [manage data in containers](../../tutorials/dockervolumes.md)
245
+For in-depth information about volumes, refer to [manage data in containers](https://docs.docker.com/engine/tutorials/dockervolumes/)
246 246
 
247 247
 ### Publish or expose port (-p, --expose)
248 248
 
... ...
@@ -250,7 +250,7 @@ For in-depth information about volumes, refer to [manage data in containers](../
250 250
 
251 251
 This binds port `8080` of the container to port `80` on `127.0.0.1` of the host
252 252
 machine. The [Docker User
253
-Guide](../../userguide/networking/default_network/dockerlinks.md)
253
+Guide](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/)
254 254
 explains in detail how to manipulate ports in Docker.
255 255
 
256 256
     $ docker run --expose 80 ubuntu bash
... ...
@@ -362,7 +362,7 @@ format:
362 362
 You can load multiple label-files by supplying multiple  `--label-file` flags.
363 363
 
364 364
 For additional information on working with labels, see [*Labels - custom
365
-metadata in Docker*](../../userguide/labels-custom-metadata.md) in the Docker User
365
+metadata in Docker*](https://docs.docker.com/engine/userguide/labels-custom-metadata/) in the Docker User
366 366
 Guide.
367 367
 
368 368
 ### Connect a container to a network (--network)
... ...
@@ -23,7 +23,7 @@ Options:
23 23
 
24 24
 Search [Docker Hub](https://hub.docker.com) for images
25 25
 
26
-See [*Find Public Images on Docker Hub*](../../tutorials/dockerrepos.md#searching-for-images) for
26
+See [*Find Public Images on Docker Hub*](https://docs.docker.com/engine/tutorials/dockerrepos/#searching-for-images) for
27 27
 more details on finding shared images from the command line.
28 28
 
29 29
 > **Note:**