Bug 40030

Summary: Make docker use UCR variable proxy/http
Product: UCS Reporter: Timo Denissen <denissen>
Component: DockerAssignee: Daniel Tröder <troeder>
Status: CLOSED FIXED QA Contact: Arvid Requate <requate>
Severity: normal    
Priority: P5 CC: gohmann
Version: UCS 4.1   
Target Milestone: UCS 4.1-0-errata   
Hardware: Other   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 40420    

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
<http://errata.software-univention.de/ucs/4.1/41.html>