Keep required [Service] like the example above it (#5648)

This commit is contained in:
Thomas Matthijs 2018-01-02 19:08:16 +01:00 committed by Misty Stanley-Jones
parent 7e102360d5
commit 646fa53a52
1 changed files with 2 additions and 0 deletions

View File

@ -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"
```