FS#48042 - [docker] -d argument depricated for docker engine
Attached to Project:
Community Packages
Opened by Robin Skahjem-Eriksen (ironhouzi) - Friday, 05 February 2016, 12:36 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 05 February 2016, 15:00 GMT
Opened by Robin Skahjem-Eriksen (ironhouzi) - Friday, 05 February 2016, 12:36 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 05 February 2016, 15:00 GMT
|
Details
Description:
The `-d` argument for docker engine seems to be replaced for the positional argument `deamon`, so the docker.service file should most likely have `ExecStart=/usr/bin/docker daemon -H fd://` instead of `ExecStart=/usr/bin/docker -d -H fd://` Additional info: * package version 1.10 * file: /etc/systemd/system/docker.service Steps to reproduce: Upgrade docker to 1.10 |
This task depends upon
Comment by Doug Newgard (Scimmia) -
Friday, 05 February 2016, 14:38 GMT
I'm not seeing a "-d" argument. Are you overriding the service
that comes with the package?
Comment by
Robin Skahjem-Eriksen (ironhouzi) -
Friday, 05 February 2016, 14:54 GMT
I might be mistaken, but I cannot recall ever setting that flag
(-d) explicitly. I believe I've followed the wiki when I installed
docker a few versions ago and copied the `docker.service` file
from /usr/<..>. I am assuming this means that the -d flag
probably came from a docker.service example file in
/usr/<..> that came with an older docker version.
Comment by Doug Newgard (Scimmia) -
Friday, 05 February 2016, 15:00 GMT
If you copied it form /usr/lib/systemd/system to
/etc/systemd/system, then you're using the version you copied
instead of the current version. There is no "-d" option in the
current service file.