mirror of https://github.com/docker/docs.git
Keep required [Service] like the example above it (#5648)
This commit is contained in:
parent
7e102360d5
commit
646fa53a52
|
@ -99,12 +99,14 @@ you will need to add this configuration in the Docker systemd service file.
|
|||
proxying you can specify them via the `NO_PROXY` environment variable:
|
||||
|
||||
```conf
|
||||
[Service]
|
||||
Environment="HTTP_PROXY=http://proxy.example.com:80/" "NO_PROXY=localhost,127.0.0.1,docker-registry.somecorporation.com"
|
||||
```
|
||||
|
||||
Or, if you are behind an HTTPS proxy server:
|
||||
|
||||
```conf
|
||||
[Service]
|
||||
Environment="HTTPS_PROXY=https://proxy.example.com:443/" "NO_PROXY=localhost,127.0.0.1,docker-registry.somecorporation.com"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue