Bug 44536 - proxy support for dockerd (systemd)
proxy support for dockerd (systemd)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2-0-errata
Assigned To: Felix Botner
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-05-04 15:38 CEST by Felix Botner
Modified: 2017-06-19 15:04 CEST (History)
0 users

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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>