centos7 docker 安装异常。

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.

参考连接

https://www.cnblogs.com/FoChen/p/8708932.html

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐