From e5e1729698404bd1789b1d4d404fd899cb1ddf08 Mon Sep 17 00:00:00 2001 From: yuexiao-wang Date: Thu, 20 Oct 2016 21:52:47 +0800 Subject: [PATCH] Modify the links for docker container commands Signed-off-by: yuexiao-wang --- docs/reference/commandline/dockerd.md | 4 ++-- docs/reference/commandline/export.md | 2 +- docs/reference/commandline/logs.md | 2 +- docs/reference/commandline/pull.md | 4 ++-- docs/reference/commandline/run.md | 8 ++++---- docs/reference/commandline/search.md | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/reference/commandline/dockerd.md b/docs/reference/commandline/dockerd.md index 3bdf2a47ce..484074a252 100644 --- a/docs/reference/commandline/dockerd.md +++ b/docs/reference/commandline/dockerd.md @@ -99,7 +99,7 @@ membership. If you need to access the Docker daemon remotely, you need to enable the `tcp` Socket. Beware that the default setup provides un-encrypted and un-authenticated direct access to the Docker daemon - and should be secured -either using the [built in HTTPS encrypted socket](../../security/https.md), or by +either using the [built in HTTPS encrypted socket](https://docs.docker.com/engine/security/https/), or by putting a secure web proxy in front of it. You can listen on port `2375` on all network interfaces with `-H tcp://0.0.0.0:2375`, or on a particular network 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: - `cluster-store-opts`: it uses the new options to reload the discovery store. - `cluster-advertise`: it modifies the address advertised after reloading. - `labels`: it replaces the daemon labels with a new set of labels. -- `live-restore`: Enables [keeping containers alive during daemon downtime](../../admin/live-restore.md). +- `live-restore`: Enables [keeping containers alive during daemon downtime](https://docs.docker.com/engine/admin/live-restore/). - `max-concurrent-downloads`: it updates the max concurrent downloads for each pull. - `max-concurrent-uploads`: it updates the max concurrent uploads for each push. - `default-runtime`: it updates the runtime to be used if not is diff --git a/docs/reference/commandline/export.md b/docs/reference/commandline/export.md index 78c1a84ceb..8b8a228186 100644 --- a/docs/reference/commandline/export.md +++ b/docs/reference/commandline/export.md @@ -22,7 +22,7 @@ the container, `docker export` will export the contents of the *underlying* directory, not the contents of the volume. Refer to [Backup, restore, or migrate data -volumes](../../tutorials/dockervolumes.md#backup-restore-or-migrate-data-volumes) in +volumes](https://docs.docker.com/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes) in the user guide for examples on exporting data in a volume. ## Examples diff --git a/docs/reference/commandline/logs.md b/docs/reference/commandline/logs.md index 55823a3712..cc66d07676 100644 --- a/docs/reference/commandline/logs.md +++ b/docs/reference/commandline/logs.md @@ -26,7 +26,7 @@ The `docker logs` command batch-retrieves logs present at the time of execution. > the `json-file` or `journald` logging driver. For more information about selecting and configuring login-drivers, refer to -[Configure logging drivers](../../admin/logging/overview.md). +[Configure logging drivers](https://docs.docker.com/engine/admin/logging/overview/). The `docker logs --follow` command will continue streaming the new output from the container's `STDOUT` and `STDERR`. diff --git a/docs/reference/commandline/pull.md b/docs/reference/commandline/pull.md index ec351153ca..9718bd4bba 100644 --- a/docs/reference/commandline/pull.md +++ b/docs/reference/commandline/pull.md @@ -32,7 +32,7 @@ If you are behind an HTTP proxy server, for example in corporate settings, before open a connect to registry, you may need to configure the Docker daemon's proxy settings, using the `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY` environment variables. To set these environment variables on a host using -`systemd`, refer to the [control and configure Docker with systemd](../../admin/systemd.md#http-proxy) +`systemd`, refer to the [control and configure Docker with systemd](https://docs.docker.com/engine/admin/systemd/#http-proxy) for variables configuration. ## Examples @@ -91,7 +91,7 @@ same image, their layers are stored only once and do not consume extra disk space. For more information about images, layers, and the content-addressable store, -refer to [understand images, containers, and storage drivers](../../userguide/storagedriver/imagesandcontainers.md). +refer to [understand images, containers, and storage drivers](https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/). ## Pull an image by digest (immutable identifier) diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md index 17b0c1e94e..821d3be5d1 100644 --- a/docs/reference/commandline/run.md +++ b/docs/reference/commandline/run.md @@ -133,7 +133,7 @@ of all containers. The `docker run` command can be used in combination with `docker commit` to [*change the command that a container runs*](commit.md). There is additional detailed information about `docker run` in the [Docker run reference](../run.md). -For information on connecting a container to a network, see the ["*Docker network overview*"](../../userguide/networking/index.md). +For information on connecting a container to a network, see the ["*Docker network overview*"](https://docs.docker.com/engine/userguide/networking/). ## Examples @@ -242,7 +242,7 @@ binary (refer to [get the linux binary]( you give the container the full access to create and manipulate the host's Docker daemon. -For in-depth information about volumes, refer to [manage data in containers](../../tutorials/dockervolumes.md) +For in-depth information about volumes, refer to [manage data in containers](https://docs.docker.com/engine/tutorials/dockervolumes/) ### Publish or expose port (-p, --expose) @@ -250,7 +250,7 @@ For in-depth information about volumes, refer to [manage data in containers](../ This binds port `8080` of the container to port `80` on `127.0.0.1` of the host machine. The [Docker User -Guide](../../userguide/networking/default_network/dockerlinks.md) +Guide](https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/) explains in detail how to manipulate ports in Docker. $ docker run --expose 80 ubuntu bash @@ -362,7 +362,7 @@ format: You can load multiple label-files by supplying multiple `--label-file` flags. For additional information on working with labels, see [*Labels - custom -metadata in Docker*](../../userguide/labels-custom-metadata.md) in the Docker User +metadata in Docker*](https://docs.docker.com/engine/userguide/labels-custom-metadata/) in the Docker User Guide. ### Connect a container to a network (--network) diff --git a/docs/reference/commandline/search.md b/docs/reference/commandline/search.md index 0efa6a5865..1eeabeaebf 100644 --- a/docs/reference/commandline/search.md +++ b/docs/reference/commandline/search.md @@ -23,7 +23,7 @@ Options: Search [Docker Hub](https://hub.docker.com) for images -See [*Find Public Images on Docker Hub*](../../tutorials/dockerrepos.md#searching-for-images) for +See [*Find Public Images on Docker Hub*](https://docs.docker.com/engine/tutorials/dockerrepos/#searching-for-images) for more details on finding shared images from the command line. > **Note:**