Docker Community Forums

Share and learn in the Docker community.

Docker start error: timeout

docker

(Kaybinwong) #1

Issue type
start error

OS Version/build
centos7 3.10.0-327.3.1.el7.x86_64

App version
Client:
Version: 1.12.3
API version: 1.24
Go version: go1.6.3
Git commit: 6b644ec
Built:
OS/Arch: linux/amd64

Steps to reproduce

step1: curl -fsSL http://get.docker.com | sh
step2: systemctl start docker

step1 is successful, but step2 gets error.

log
`[root@localhost ~]# systemctl start docker
Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.
[root@localhost ~]# ^C
[root@localhost ~]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 四 2016-11-24 13:57:22 CST; 6s ago
Docs: https://docs.docker.com
Process: 19372 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
Main PID: 19372 (code=exited, status=1/FAILURE)
Memory: 30.2M
CGroup: /system.slice/docker.service

11月 24 13:57:00 localhost.localdomain systemd[1]: Starting Docker Application Container Engine…
11月 24 13:57:00 localhost.localdomain dockerd[19372]: time=“2016-11-24T13:57:00.369569824+08:00” level=info msg="libcontainerd: new containerd process, pid: 19379"
11月 24 13:57:01 localhost.localdomain dockerd[19372]: time=“2016-11-24T13:57:01.382052788+08:00” level=warning msg="devmapper: Usage of loopback devices is strongly discouraged for production use. Please use --stora...oldev section." 11月 24 13:57:01 localhost.localdomain dockerd[19372]: time="2016-11-24T13:57:01.409785781+08:00" level=warning msg="devmapper: Base device already exists and has filesystem xfs on it. User specified filesystem will be ignored." 11月 24 13:57:01 localhost.localdomain dockerd[19372]: time="2016-11-24T13:57:01.429928190+08:00" level=info msg="[graphdriver] using prior storage driver \"devicemapper\"" 11月 24 13:57:22 localhost.localdomain dockerd[19372]: time="2016-11-24T13:57:22.528880564+08:00" level=fatal msg="Error starting daemon: timeout" 11月 24 13:57:22 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE 11月 24 13:57:22 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine. 11月 24 13:57:22 localhost.localdomain systemd[1]: Unit docker.service entered failed state. 11月 24 13:57:22 localhost.localdomain systemd[1]: docker.service failed. Hint: Some lines were ellipsized, use -l to show in full.