FS#46816 - [docker] docker daemon -H fd:// fails to start

Attached to Project: Community Packages
Opened by Etienne Perot (EtiennePerot) - Wednesday, 21 October 2015, 07:26 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 22 October 2015, 14:53 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The systemctl service unit consistently fails to start.

# systemctl start docker
Job for docker.service failed because a timeout was exceeded. See "systemctl status docker.service" and "journalctl -xe" for details.
# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: deactivating (final-sigkill) (Result: timeout)
Docs: https://docs.docker.com
Main PID: 684 (docker)
CGroup: /system.slice/docker.service
‣ 684 [docker]
Oct 20 20:21:16 systemd[1]: docker.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 20 20:21:16 systemd[1]: Failed to start Docker Application Container Engine.
Oct 20 20:21:16 systemd[1]: docker.service: Unit entered failed state.
Oct 20 20:21:16 systemd[1]: docker.service: Failed with result 'exit-code'.
Oct 20 20:21:16 systemd[1]: Starting Docker Application Container Engine...
Oct 20 20:22:46 systemd[1]: docker.service: Start operation timed out. Terminating.
Oct 20 20:24:17 systemd[1]: docker.service: State 'stop-final-sigterm' timed out. Killing.

If you try to run it manually:

# /usr/bin/docker daemon -H fd://
ERRO[0000] ServeAPI error: No sockets found

If you remove "-H fd://", it works "-H fd://" was removed upstream along with socket activation in https://github.com/tianon/docker/commit/dac7ef091533596326f1524efb5341a95b0e2c80.


Additional info:
* package version(s): 1:1.8.3-1
* config and/or log files etc. N/A, all vanilla


Steps to reproduce:
# systemctl start docker
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 22 October 2015, 14:53 GMT
Reason for closing:  Works for me
Comment by Etienne Perot (EtiennePerot) - Wednesday, 21 October 2015, 07:30 GMT
I'm wrong regarding the upstream change; actual upstream still has "-H fd://" in it, the pull request was not merged (https://github.com/docker/docker/pull/10891).
Comment by Sébastien Luttringer (seblu) - Thursday, 22 October 2015, 14:53 GMT
It works perfectly for me. systemd files are provided by upstream, report them your issue directly if you need more support.

# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since jeu. 2015-10-22 16:50:45 CEST; 1min 37s ago
Docs: https://docs.docker.com
Main PID: 46844 (docker)
Memory: 21.2M
CPU: 234ms
CGroup: /system.slice/docker.service
├─46844 /usr/bin/docker daemon -H fd://
├─46942 docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8443 -container-ip 172.17.0.1 -c...
├─46951 docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8080 -container-ip 172.17.0.1 -c...
└─46960 docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 8022 -container-ip 172.17.0.1 -c...

Loading...