mirror of
https://github.com/samply/bridgehead.git
synced 2025-07-05 19:10:20 +02:00
Apply suggestions from code review
This commit is contained in:
10
README.md
10
README.md
@ -354,22 +354,22 @@ Installation under WSL ought to work, but we have not tested this.
|
|||||||
|
|
||||||
### Docker Daemon Proxy Configuration
|
### Docker Daemon Proxy Configuration
|
||||||
|
|
||||||
Docker has a background daemon, responsible for downloading images and starting them. Sometimes, proxy configuration from your system won't carry over and it will fail to download images. In that case, you'll need to configure the proxy inside the system unit of docker by creating the file `/etc/systemd/system/docker.service.d/proxy.conf` with following content
|
Docker has a background daemon, responsible for downloading images and starting them. Sometimes, proxy configuration from your system won't carry over and it will fail to download images. In that case, you'll need to configure the proxy inside the system unit of docker by creating the file `/etc/systemd/system/docker.service.d/proxy.conf` with the following content:
|
||||||
|
|
||||||
``` ini
|
``` ini
|
||||||
[Service]
|
[Service]
|
||||||
Environment="HTTP_PROXY=http://proxy.example.com:3128"
|
Environment="HTTP_PROXY=http://proxy.example.com:3128"
|
||||||
Environment="HTTPS_PROXY=https://proxy.example.com:3129"
|
Environment="HTTPS_PROXY=https://proxy.example.com:3128"
|
||||||
Environment="NO_PROXY=localhost,127.0.0.1,docker-registry.example.com,.corp"
|
Environment="NO_PROXY=localhost,127.0.0.1,some-local-docker-registry.example.com,.corp"
|
||||||
```
|
```
|
||||||
|
|
||||||
After saving the configuration file, you'll need to reload the system daemon for the changes to take effect
|
After saving the configuration file, you'll need to reload the system daemon for the changes to take effect:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
```
|
```
|
||||||
|
|
||||||
and restart the docker daemon
|
and restart the docker daemon:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
sudo systemctl restart docker
|
sudo systemctl restart docker
|
||||||
|
Reference in New Issue
Block a user