[root@lh- ~]# docker images
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
[root@lh- ~]# systemctl start docker.service
Job for docker.service failed because a timeout was exceeded. See "systemctl status docker.service" and "journalctl -xe" for details.
[root@lh- ~]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: deactivating (final-sigkill) (Result: timeout) since Thu -- :: UTC; days ago
Docs: http://docs.docker.com
Process: ExecStart=/usr/bin/docker-current daemon --exec-opt native.cgroupdriver=systemd $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=/FAILURE)
Main PID: (code=exited, status=/FAILURE)
CGroup: /system.slice/docker.service Sep :: lh- systemd[]: Starting Docker Application Container Engine...
Sep :: lh- docker-current[]: time="2016-09-07T15:57:57.761131231Z" level=error msg="[graphdriver] prior storage driver \"devicemapper\" failed: ...directory"
Sep :: lh- docker-current[]: time="2016-09-07T15:57:57.761257149Z" level=fatal msg="Error starting daemon: error initializing graphdriver: open ...directory"
Sep :: lh- systemd[]: docker.service: main process exited, code=exited, status=/FAILURE
Sep :: lh- systemd[]: docker.service stop-sigterm timed out. Killing.
Sep :: lh- systemd[]: docker.service still around after SIGKILL. Ignoring.
Sep :: lh- systemd[]: docker.service stop-final-sigterm timed out. Killing.
Hint: Some lines were ellipsized, use -l to show in full.
解决方法:试了一些网上的方法,没有解决,最后reboot了云主机,没启动起来,又到openstack后台启动,问题解决了。