使用docker executor在Gitlab-CI管道中出错

时间:2018-03-08 15:19:10

标签: docker gitlab-ci gitlab-ci-runner

我在gitlab-ci管道中面临以下问题:

`ERROR: Preparation failed: Error response from daemon: stat /var/lib/docker/overlay2/ce84c4ec94ce342dea27ba2d8f6d419e96c952442020da66e3d0062d22a37c35: no such file or directory`

完整的日志是: Running with gitlab-runner 10.5.0 (80b03db9) on gitlab-runner-small c9dfa23d Using Docker executor with image node:6 ... Starting service mysql:latest ... Pulling docker image mysql:latest ... ERROR: Preparation failed: Error response from daemon: stat /var/lib/docker/overlay2/ce84c4ec94ce342dea27ba2d8f6d419e96c952442020da66e3d0062d22a37c35: no such file or directory Will be retried in 3s ... Using Docker executor with image node:6 ... Starting service mysql:latest ... Pulling docker image mysql:latest ... ERROR: Preparation failed: Error response from daemon: stat /var/lib/docker/overlay2/ce84c4ec94ce342dea27ba2d8f6d419e96c952442020da66e3d0062d22a37c35: no such file or directory Will be retried in 3s ... Using Docker executor with image node:6 ... Starting service mysql:latest ... Pulling docker image mysql:latest ... ERROR: Preparation failed: Error response from daemon: stat /var/lib/docker/overlay2/ce84c4ec94ce342dea27ba2d8f6d419e96c952442020da66e3d0062d22a37c35: no such file or directory Will be retried in 3s ... ERROR: Job failed (system failure): Error response from daemon: stat /var/lib/docker/overlay2/ce84c4ec94ce342dea27ba2d8f6d419e96c952442020da66e3d0062d22a37c35: no such file or directory

任何想法如何解决?

问题出现了,因为我删除了/ var / lib / docker / overlay2 /的委托,因为系统的磁盘已满,而且这个文件夹占用了65%的空间。

1 个答案:

答案 0 :(得分:0)

这破坏了您的Docker存储空间。完全删除(清除)Docker并重新安装以查看是否可以解决问题。