After docker installation docker daemon itself have to get access to internet
```
mkdir /etc/systemd/system/docker.service.d/
```
Place there file `/etc/systemd/system/docker.service.d/http-proxy.conf` with such content
```
[Service]
Environment="http_proxy=http://192.168.1.1:3128"
Environment="https_proxy=http://192.168.1.1:3128"
```
then
```
systemctl daemon-reload
systemctl restart docker
```
## Tower
Container acts as separate network node so it has to get access to internet separately. Append to `docker-compose.yml` in `environment` section that vars