Univention Bugzilla – Bug 40030
Make docker use UCR variable proxy/http
Last modified: 2016-01-13 10:29:54 CET
When docker is run on a system behind a proxy, docker doesn't use the environment variable "http_proxy" set by proxy/http.
I had to manually edit /etc/default/docker to use the proxy.
I therefore recommend to set the proxy variable in /etc/default/docker when the UCR variable proxy/http is set.
PS: I had to restart docker afterwards to make the change take effect.
The template for /etc/default/docker now (r65924) uses proxy/http.
YAML: r65925 - 2015-11-26-univention-docker.yaml
Added a test: 80_docker/80_docker_pull_via_proxy_http
A manual restart is required to activate the new setting.
Advisory: renamed to univention-docker.yaml