Prechádzať zdrojové kódy

Merge pull request #22778 from DoraALin/10972-docs-Support-for-non-proxied-private-registry

doc:http pkg variables info added in pull cmd
(cherry picked from commit 9751170f08a143e86709879c70b4a924c3161683)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Vincent Demeester 9 rokov pred
rodič
commit
e47de0ba4d
1 zmenil súbory, kde vykonal 9 pridanie a 0 odobranie
  1. 9 0
      docs/reference/commandline/pull.md

+ 9 - 0
docs/reference/commandline/pull.md

@@ -27,6 +27,15 @@ can `pull` and try without needing to define and configure your own.
 To download a particular image, or set of images (i.e., a repository),
 use `docker pull`.
 
+## Proxy configuration
+
+If you are behind a 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)
+for variables configuration.
+
 ## Examples
 
 ### Pull an image from Docker Hub