Bug 44536

Summary: proxy support for dockerd (systemd)
Product: UCS Reporter: Felix Botner <botner>
Component: App CenterAssignee: Felix Botner <botner>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5    
Version: UCS 4.2   
Target Milestone: UCS 4.2-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:

Description Felix Botner univentionstaff 2017-05-04 15:38:01 CEST
In 4.2 docker is started via systemd and the old proxy settings (/etc/default/proxy) no longer apply, instead we need a template for /etc/systemd/system/docker.service.d/https-proxy.conf (proxy/http, proxy/https, proxy/htt)

-> more /etc/systemd/system/docker.service.d/https-proxy.conf 
[Service]
Environment="HTTPS_PROXY=http://10.200.7.50:3128" "HTTP_PROXY=http://10.200.7.50:3128" "NO_PROXY=localhost,127.0.0.1"
Comment 1 Felix Botner univentionstaff 2017-05-24 18:13:01 CEST
univention-docker r79677
univention-docker r79678

univention-docker.yaml

Added conffiles/etc/systemd/system/docker.service.d/http-proxy.conf to configure proxy/http and proxy/https for docker.

After changed proxy/http and/or proxy/https the docker daemon needs to be restarted manually!
systemctl restart docker
Comment 2 Dirk Wiesenthal univentionstaff 2017-06-16 17:03:14 CEST
Works.
Comment 3 Janek Walkenhorst univentionstaff 2017-06-19 15:04:55 CEST
<http://errata.software-univention.de/ucs/4.2/52.html>