FS#44656 - docker daemon configurations getting lost with every update
Attached to Project:
Community Packages
Opened by Mehran (SeMeKh) - Monday, 20 April 2015, 08:09 GMT
Last edited by Ike Devolder (BlackEagle) - Monday, 20 April 2015, 09:08 GMT
Opened by Mehran (SeMeKh) - Monday, 20 April 2015, 08:09 GMT
Last edited by Ike Devolder (BlackEagle) - Monday, 20 April 2015, 09:08 GMT
|
Details
Every time `docker` package receives an update, the file
`/usr/lib/systemd/system/docker.service` is replaced with
the new content, and thus every host-specific options for
the daemon (e.g. storage driver) are lost. Other
distributions (like debian) provide a `/etc/defaults/docker`
file to hold those host-specific options.
|
This task depends upon
Closed by Ike Devolder (BlackEagle)
Monday, 20 April 2015, 09:08 GMT
Reason for closing: Not a bug
Additional comments about closing: see comments
Monday, 20 April 2015, 09:08 GMT
Reason for closing: Not a bug
Additional comments about closing: see comments
the most simple approach is to copy /usr/lib/systemd/system/docker.service to /etc/systemd/system/ and make your changes
or you could do it 'the right way' by creating /etc/systemd/system/docker.service and use:
.include /usr/lib/systemd/system/docker.service
[Service]
ExecStart=my overridden command
...