FS#41036 - [docker] Support for EnvironmentFile
Attached to Project:
Community Packages
Opened by F0ruD A (fzerorubigd) - Monday, 30 June 2014, 13:21 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 01 July 2014, 21:15 GMT
Opened by F0ruD A (fzerorubigd) - Monday, 30 June 2014, 13:21 GMT
Last edited by Sébastien Luttringer (seblu) - Tuesday, 01 July 2014, 21:15 GMT
|
Details
Docker accept some parameter after -d (for example --dns for
providing dns to containers). but current systemd service
file does not support for adding new parameter.
Currently I change docker.service file, but I should do this EVERY time with docker update. Please add support for EnvironmentFile in docker.service. |
This task depends upon
Closed by Sébastien Luttringer (seblu)
Tuesday, 01 July 2014, 21:15 GMT
Reason for closing: Won't fix
Additional comments about closing: Use systemd overriding features
Tuesday, 01 July 2014, 21:15 GMT
Reason for closing: Won't fix
Additional comments about closing: Use systemd overriding features
Comment by Doug Newgard (Scimmia) -
Monday, 30 June 2014, 13:56 GMT
If you have to change the service file on every update, you're
doing it wrong. You're supposed to copy the unit file from
/usr/lib/systemd/system to /etc/systemd/system and edit it there.
Comment by
Dave Reisner (falconindy) - Monday,
30 June 2014, 14:00 GMT
Adding a dropin would be even better, since it supplements the
packaged unit, rather than overriding it.