mirror of https://github.com/docker/cli.git
Modify the links for docker container commands
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
This commit is contained in:
parent
4f4c129973
commit
f18c41ee83
|
@ -108,7 +108,7 @@ membership.
|
||||||
If you need to access the Docker daemon remotely, you need to enable the `tcp`
|
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
|
Socket. Beware that the default setup provides un-encrypted and
|
||||||
un-authenticated direct access to the Docker daemon - and should be secured
|
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
|
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
|
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
|
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:
|
||||||
- `cluster-store-opts`: it uses the new options to reload the discovery store.
|
- `cluster-store-opts`: it uses the new options to reload the discovery store.
|
||||||
- `cluster-advertise`: it modifies the address advertised after reloading.
|
- `cluster-advertise`: it modifies the address advertised after reloading.
|
||||||
- `labels`: it replaces the daemon labels with a new set of labels.
|
- `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-downloads`: it updates the max concurrent downloads for each pull.
|
||||||
- `max-concurrent-uploads`: it updates the max concurrent uploads for each push.
|
- `max-concurrent-uploads`: it updates the max concurrent uploads for each push.
|
||||||
- `default-runtime`: it updates the runtime to be used if not is
|
- `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*
|
||||||
directory, not the contents of the volume.
|
directory, not the contents of the volume.
|
||||||
|
|
||||||
Refer to [Backup, restore, or migrate data
|
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.
|
the user guide for examples on exporting data in a volume.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
|
@ -35,7 +35,7 @@ The `docker logs` command batch-retrieves logs present at the time of execution.
|
||||||
> the `json-file` or `journald` logging driver.
|
> the `json-file` or `journald` logging driver.
|
||||||
|
|
||||||
For more information about selecting and configuring login-drivers, refer to
|
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 `docker logs --follow` command will continue streaming the new output from
|
||||||
the container's `STDOUT` and `STDERR`.
|
the container's `STDOUT` and `STDERR`.
|
||||||
|
|
|
@ -41,7 +41,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
|
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`
|
daemon's proxy settings, using the `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`
|
||||||
environment variables. To set these environment variables on a host using
|
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.
|
for variables configuration.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
@ -100,7 +100,7 @@ same image, their layers are stored only once and do not consume extra disk
|
||||||
space.
|
space.
|
||||||
|
|
||||||
For more information about images, layers, and the content-addressable store,
|
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)
|
## Pull an image by digest (immutable identifier)
|
||||||
|
|
|
@ -142,7 +142,7 @@ of all containers.
|
||||||
The `docker run` command can be used in combination with `docker commit` to
|
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).
|
[*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
|
## Examples
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ binary (refer to [get the linux binary](
|
||||||
you give the container the full access to create and manipulate the host's
|
you give the container the full access to create and manipulate the host's
|
||||||
Docker daemon.
|
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)
|
### Publish or expose port (-p, --expose)
|
||||||
|
|
||||||
|
@ -259,7 +259,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
|
This binds port `8080` of the container to port `80` on `127.0.0.1` of the host
|
||||||
machine. The [Docker User
|
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.
|
explains in detail how to manipulate ports in Docker.
|
||||||
|
|
||||||
$ docker run --expose 80 ubuntu bash
|
$ docker run --expose 80 ubuntu bash
|
||||||
|
@ -371,7 +371,7 @@ format:
|
||||||
You can load multiple label-files by supplying multiple `--label-file` flags.
|
You can load multiple label-files by supplying multiple `--label-file` flags.
|
||||||
|
|
||||||
For additional information on working with labels, see [*Labels - custom
|
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.
|
Guide.
|
||||||
|
|
||||||
### Connect a container to a network (--network)
|
### Connect a container to a network (--network)
|
||||||
|
|
|
@ -32,7 +32,7 @@ Options:
|
||||||
|
|
||||||
Search [Docker Hub](https://hub.docker.com) for images
|
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.
|
more details on finding shared images from the command line.
|
||||||
|
|
||||||
> **Note:**
|
> **Note:**
|
||||||
|
|
Loading…
Reference in New Issue