mirror of https://github.com/docker/docs.git
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:
parent
8e2a470983
commit
e0f7248d40
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue