mirror of https://github.com/docker/cli.git
Developer Certificate of Origin
Version 1.1 Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129 Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Developer's Certificate of Origin 1.1 By making a contribution to this project, I certify that: (a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or (b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or (c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it. (d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved. Signed-off-by: nkwangleiGIT <nkwanglei@126.com>
This commit is contained in:
parent
5a5b880251
commit
b6def77c55
|
@ -508,7 +508,7 @@ images (saving space).
|
||||||
|
|
||||||
For most use cases, multi-stage are a better alternative, as they give more
|
For most use cases, multi-stage are a better alternative, as they give more
|
||||||
fine-grained control over your build, and can take advantage of future
|
fine-grained control over your build, and can take advantage of future
|
||||||
optimizations in the builder. Refer to the [use multi-stage builds](https://docs.docker.com/engine/userguide/eng-image/multistage-build/)
|
optimizations in the builder. Refer to the [use multi-stage builds](https://docs.docker.com/develop/develop-images/multistage-build/)
|
||||||
section in the userguide for more information.
|
section in the userguide for more information.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ each `docker` command with `sudo`. To avoid having to use `sudo` with the
|
||||||
`docker` and add users to it.
|
`docker` and add users to it.
|
||||||
|
|
||||||
For more information about installing Docker or `sudo` configuration, refer to
|
For more information about installing Docker or `sudo` configuration, refer to
|
||||||
the [installation](https://docs.docker.com/engine/installation/) instructions for your operating system.
|
the [installation](https://docs.docker.com/install/) instructions for your operating system.
|
||||||
|
|
||||||
### Environment variables
|
### Environment variables
|
||||||
|
|
||||||
|
|
|
@ -1425,7 +1425,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](https://docs.docker.com/engine/admin/live-restore/).
|
- `live-restore`: Enables [keeping containers alive during daemon downtime](https://docs.docker.com/config/containers/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
|
||||||
|
|
|
@ -32,7 +32,7 @@ with the container. If a volume is mounted on top of an existing directory in
|
||||||
the container, `docker export` will export the contents of the *underlying*
|
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 volumes](https://docs.docker.com/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes)
|
Refer to [Backup, restore, or migrate data volumes](https://docs.docker.com/v17.03/engine/tutorials/dockervolumes/#backup-restore-or-migrate-data-volumes)
|
||||||
in the user guide for examples on exporting data in a volume.
|
in the user guide for examples on exporting data in a volume.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
|
@ -38,7 +38,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 logging drivers, refer to
|
For more information about selecting and configuring logging drivers, refer to
|
||||||
[Configure logging drivers](https://docs.docker.com/engine/admin/logging/overview/).
|
[Configure logging drivers](https://docs.docker.com/config/containers/logging/configure/).
|
||||||
|
|
||||||
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`.
|
||||||
|
|
|
@ -113,5 +113,5 @@ You can connect a container to one or more networks. The networks need not be th
|
||||||
* [network ls](network_ls.md)
|
* [network ls](network_ls.md)
|
||||||
* [network rm](network_rm.md)
|
* [network rm](network_rm.md)
|
||||||
* [network prune](network_prune.md)
|
* [network prune](network_prune.md)
|
||||||
* [Understand Docker container networks](https://docs.docker.com/engine/userguide/networking/)
|
* [Understand Docker container networks](https://docs.docker.com/network/)
|
||||||
* [Work with networks](https://docs.docker.com/engine/userguide/networking/work-with-networks/)
|
* [Work with networks](https://docs.docker.com/network/bridge/)
|
||||||
|
|
Loading…
Reference in New Issue