Bug 40030 - Make docker use UCR variable proxy/http
Make docker use UCR variable proxy/http
Product: UCS
Classification: Unclassified
Component: Docker
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Daniel Tröder
Arvid Requate
Depends on:
Blocks: 40420
  Show dependency treegraph
Reported: 2015-11-19 09:50 CET by Timo Denissen
Modified: 2016-01-13 10:29 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Timo Denissen univentionstaff 2015-11-19 09:50:02 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.
Comment 1 Timo Denissen univentionstaff 2015-11-19 12:38:37 CET
PS: I had to restart docker afterwards to make the change take effect.
Comment 2 Daniel Tröder univentionstaff 2015-11-26 12:06:56 CET
The template for /etc/default/docker now (r65924) uses proxy/http.
YAML: r65925 - 2015-11-26-univention-docker.yaml
Comment 3 Arvid Requate univentionstaff 2015-12-21 17:33:00 CET
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
Comment 4 Arvid Requate univentionstaff 2015-12-22 16:04:55 CET