From b303381a4d679cad652c83f6b7d28cccbc06574c Mon Sep 17 00:00:00 2001 From: Jacob Tomlinson Date: Tue, 22 Nov 2016 21:24:37 +0000 Subject: [PATCH] Add concurrent uploads/downloads section Document and link to the concurrent uploads/downloads daemon option. Signed-off-by: Jacob Tomlinson --- docs/reference/commandline/pull.md | 7 +++++++ docs/reference/commandline/push.md | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/docs/reference/commandline/pull.md b/docs/reference/commandline/pull.md index 459d7d4950..0c960b404a 100644 --- a/docs/reference/commandline/pull.md +++ b/docs/reference/commandline/pull.md @@ -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) 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 ### Pull an image from Docker Hub diff --git a/docs/reference/commandline/push.md b/docs/reference/commandline/push.md index 93230db6f9..e36fd026d1 100644 --- a/docs/reference/commandline/push.md +++ b/docs/reference/commandline/push.md @@ -36,6 +36,13 @@ running in a terminal, terminates the push operation. 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 ### Pushing a new image to a registry