mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Keep required [Service] like the example above it (#5648)
This commit is contained in:
committed by
Misty Stanley-Jones
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"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user