Update systemd.md (#2729)

restart docker before showing the Environment variable.
https://github.com/docker/docker/issues/22568#issuecomment-281092636
This commit is contained in:
Misty Stanley-Jones 2017-04-11 09:52:07 -07:00 committed by GitHub
parent 8e2a470983
commit e0f7248d40
1 changed files with 7 additions and 6 deletions

View File

@ -97,17 +97,18 @@ you will need to add this configuration in the Docker systemd service file.
$ sudo systemctl daemon-reload
```
5. Verify that the configuration has been loaded:
5. Restart Docker:
```bash
$ sudo systemctl restart docker
```
6. Verify that the configuration has been loaded:
```bash
$ systemctl show --property=Environment docker
Environment=HTTP_PROXY=http://proxy.example.com:80/
```
6. Restart Docker:
```bash
$ sudo systemctl restart docker
```
## Manually creating the systemd unit files