Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory

centos7 docker 安装异常。

安装docker是先将yum更新一下

11月 12 15:04:49 localhost.localdomain systemd-udevd[7722]: inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory

11月 12 15:04:49 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:49.222829501+08:00" level=info msg="Creating filesystem xfs on device docker-253:1-69583127-base, mkfs args: [-m crc=0,finobt=0 /dev/mapper/docker-253:1-

是因为 xfsprogs 版本太低了。

解决方法
yum update xfsprogs重新启动即可解决

error
11月 12 15:04:48 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:48.587795016+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42023ca30, CONNECTING" module=grpc
11月 12 15:04:48 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:48.588299915+08:00" level=info msg="pickfirstBalancer: HandleSubConnStateChange: 0xc42023ca30, READY" module=grpc
11月 12 15:04:48 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:48.623036012+08:00" level=warning msg="Usage of loopback devices is strongly discouraged for production use. Please use `--storage-opt dm.thinpooldev` or


11月 12 15:04:49 localhost.localdomain systemd-udevd[7722]: inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory

11月 12 15:04:49 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:49.222829501+08:00" level=info msg="Creating filesystem xfs on device docker-253:1-69583127-base, mkfs args: [-m crc=0,finobt=0 /dev/mapper/docker-253:1-


11月 12 15:04:49 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:49.224451562+08:00" level=info msg="Error while creating filesystem xfs on device docker-253:1-69583127-base: exit status 1" storage-driver=devicemapper
11月 12 15:04:49 localhost.localdomain dockerd[7818]: time="2018-11-12T15:04:49.224500526+08:00" level=error msg="[graphdriver] prior storage driver devicemapper failed: exit status 1"
11月 12 15:04:49 localhost.localdomain dockerd[7818]: Error starting daemon: error initializing graphdriver: exit status 1
11月 12 15:04:49 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
11月 12 15:04:49 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine
上一篇:ambari配置注意事项


下一篇:VMware最小化之初始化服务器