mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28726 from jacobtomlinson/docs-pull-concurrent
Document pull concurrent options
This commit is contained in:
commit
d145b0b93f
2 changed files with 14 additions and 0 deletions
|
@ -44,6 +44,13 @@ environment variables. To set these environment variables on a host using
|
||||||
`systemd`, refer to the [control and configure Docker with systemd](https://docs.docker.com/engine/admin/systemd/#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.
|
||||||
|
|
||||||
|
## Concurrent downloads
|
||||||
|
|
||||||
|
By default the Docker daemon will pull three layers of an image at a time.
|
||||||
|
If you are on a low bandwidth connection this may cause timeout issues and you may want to lower
|
||||||
|
this via the `--max-concurrent-downloads` daemon option. See the
|
||||||
|
[daemon documentation](dockerd.md) for more details.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Pull an image from Docker Hub
|
### Pull an image from Docker Hub
|
||||||
|
|
|
@ -36,6 +36,13 @@ running in a terminal, terminates the push operation.
|
||||||
|
|
||||||
Registry credentials are managed by [docker login](login.md).
|
Registry credentials are managed by [docker login](login.md).
|
||||||
|
|
||||||
|
## Concurrent uploads
|
||||||
|
|
||||||
|
By default the Docker daemon will push five layers of an image at a time.
|
||||||
|
If you are on a low bandwidth connection this may cause timeout issues and you may want to lower
|
||||||
|
this via the `--max-concurrent-uploads` daemon option. See the
|
||||||
|
[daemon documentation](dockerd.md) for more details.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
### Pushing a new image to a registry
|
### Pushing a new image to a registry
|
||||||
|
|
Loading…
Reference in a new issue