我试图使用 centos 作为我的 gitlab runner 的基础镜像。这是我的 ci 文件:
build:
stage: build
image: centos
script:
- echo hello
我得到的结果是:
ERROR: Job failed (system failure): Error response from daemon: Failed to mount; dmesg: <4>[16416949.641238] XFS (dm-17): xlog_recover_process_ophdr: bad clientid 0x0
<4>[16416949.641247] XFS (dm-17): log mount/recovery failed: error -5
<4>[16416949.641332] XFS (dm-17): log mount failed
: mount /dev/mapper/docker-249:0-392963-81a5b677997be1f6a6063db7650f5216985cbe7e5bc733ad2d7c245c057c0ceb-init:/var/lib/docker/devicemapper/mnt/81a5b677997be1f6a6063db7650f5216985cbe7e5bc733ad2d7c245c057c0ceb-init, data: nouuid: input/output error (executor_docker.go:740:0s)
可能是什么问题呢?
最佳答案
如果这是关于在本地 GitLab 实例上执行的 gitlab 运行程序,您需要知道在该 GitLab 服务器实例上 docker version
的输出和 docker info
.
例如,this issue使用 overlay FS 时已解决.
例如,关于 Oracle Linux主持人,考虑 oracle/docker-images
issue 1211 , 特别是 this comment其中包括相同的 nouuid: input/output error
信息。
紧随其后的是:
Please switch to using either the overlay2 storage driver on an XFS file system or btrfs.
You're using the default devicemapper storage engine and that's breaking because of limitations of that engine.
关于linux - centos docker镜像在gitlab docker runner上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59502231/