Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory
2021/10/28 23:10:11
本文主要是介绍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
这篇关于Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-11-14Docker端口:你真的公开了哪些东西?
- 2024-11-14用DOCKER在家里的实验室里搞些酷炫的玩意儿
- 2024-11-05掌握Docker:高效安全的十大最佳实践
- 2024-11-05在 Docker Compose 中怎么设置端口映射-icode9专业技术文章分享
- 2024-11-05在 Docker Compose 中怎么设置环境变量-icode9专业技术文章分享
- 2024-11-04Docker环境部署项目实战:新手入门教程
- 2024-11-04Docker环境部署资料:新手入门教程
- 2024-11-01Docker环境部署教程:新手入门指南
- 2024-11-01超越Docker:苹果芯片上的模拟、编排和虚拟化方案讲解
- 2024-11-01Docker环境部署:新手入门教程