https://bugzilla.redhat.com/show_bug.cgi?id=1096849
Bug ID: 1096849 Summary: docker daemon for epel7 doesn't allow for additional options Product: Fedora EPEL Version: epel7 Component: docker-io Severity: medium Assignee: lsm5@redhat.com Reporter: jperrin@centos.org QA Contact: extras-qa@fedoraproject.org CC: admiller@redhat.com, golang@lists.fedoraproject.org, lsm5@redhat.com, mattdm@redhat.com, mgoldman@redhat.com, s@shk.io, vbatts@redhat.com
Description of problem: For el6, epel's docker build creates /etc/sysconfig/docker, which allows other options to be passed to the docker daemon. the systemd unit files for epel7's docker build do not.
Version-Release number of selected component (if applicable): docker-io-0.10.0-2.el7.x86_64
How reproducible: Always
Steps to Reproduce: 1. yum install docker-io 2. less /usr/lib/systemd/system/docker.service
Actual results: There is no $other_args defined in the systemd unit file, nor is there an /etc/sysconfig/docker in which to define the options.
Expected results: Same as the el6 docker. You should be able to pass additional arguments for bridging, dns, or restart options
Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
--- Comment #1 from Jim Perrin jperrin@centos.org --- After poking around systemd a bit more, it appears that this can be done systemd internals by creating /etc/systemd/system/docker.service.d/bridge.conf or similar with the options I need. This option doesn't appear to be documented well, but it seems to work fine and be the 'proper' way.
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
--- Comment #2 from Daniel Walsh dwalsh@redhat.com --- Jim can you document this? So we can add it to the docker package? Should we add a /etc/systemd/system/docker.service.d/ to the docker package?
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
--- Comment #3 from Jim Perrin jperrin@centos.org --- I'll try to document something sane for this.
I'm not certain that adding the directory to the package is 'proper', as no other packages appear to provide similar directories. It's possible it should simply go into /usr/share/doc/docker-io-*/ as an options example file.
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
--- Comment #4 from Daniel Walsh dwalsh@redhat.com --- OK that sounds good. BTW In rhel7 the package will be called docker not docker-io. Which I wish we would fix in Fedora and RHEL6/Centos6.
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
Edouard Bourguignon madko@linuxed.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madko@linuxed.net
--- Comment #5 from Edouard Bourguignon madko@linuxed.net --- I can't find any docker package on rhel7. docker-io is there (version 1.0.0-1.el7) but /etc/sysconfig/docker seems to be an HTML page... I'll check the docs in /usr/share/doc/docker-io*
And I can't use any more (it seems) the HTTP_PROXY env variable. docker tries to resolv docker.io...
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
--- Comment #7 from Daniel Walsh dwalsh@redhat.com --- You need to enable the extras repo.
I think you do this via
# subscription-manager repos --enable=rhel-x86_64-server-extras-7 # subscription-manager repos --enable=rhel-x86_64-server-optional-7
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
Patrick Uiterwijk puiterwijk@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |puiterwijk@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1096849
Daniel Walsh dwalsh@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2014-06-11 09:22:41
--- Comment #13 from Daniel Walsh dwalsh@redhat.com --- This package is being removed from EPEL since there is now a supported version of docker in the released rhel7 repositories.
golang@lists.fedoraproject.org