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

简介: 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
目录
相关文章
|
3月前
|
Docker 容器
14 response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file speci
14 response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file speci
42 1
|
3月前
|
Unix Shell Linux
5-15|Docker报错OCI runtime exec failed: exec failed: unable to start container process: exec: “/bin/ba
5-15|Docker报错OCI runtime exec failed: exec failed: unable to start container process: exec: “/bin/ba
|
4月前
|
存储 Linux Docker
【Azure 应用服务】应用服务中发布Docker Container,如何添加卷(如Azure File Share)以便永久存储文件
【Azure 应用服务】应用服务中发布Docker Container,如何添加卷(如Azure File Share)以便永久存储文件
|
5月前
|
运维 Ubuntu Shell
阿里云云效操作报错合集之流水线构建Docker镜像时,遇到报错:“error: failed to solve: rpc error: code”,该怎么办
本合集将整理呈现用户在使用过程中遇到的报错及其对应的解决办法,包括但不限于账户权限设置错误、项目配置不正确、代码提交冲突、构建任务执行失败、测试环境异常、需求流转阻塞等问题。阿里云云效是一站式企业级研发协同和DevOps平台,为企业提供从需求规划、开发、测试、发布到运维、运营的全流程端到端服务和工具支撑,致力于提升企业的研发效能和创新能力。
|
7月前
|
Docker 容器
Docker服务启动失败报错:Job for docker.service failed because the control process exited with error code.
Docker服务启动失败报错:Job for docker.service failed because the control process exited with error code.
|
6月前
|
Docker 容器
waiting for docker daemon: failed to start docker engine: dockerd failed to start: exit status 1
waiting for docker daemon: failed to start docker engine: dockerd failed to start: exit status 1
|
7月前
|
Kubernetes Docker 容器
Job for docker.service failed because the control process exited with error code.
Job for docker.service failed because the control process exited with error code.
301 0
|
7月前
|
Docker 容器
mac构建Docker镜像报错failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpec
mac构建Docker镜像报错failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpec
289 0
|
7月前
|
应用服务中间件 Linux 开发工具
Docker File
Docker File
|
7月前
|
网络安全 Docker 容器
Docker常见问题1: driver failed programming external connectivity on endpoint
Docker常见问题1: driver failed programming external connectivity on endpoint