GitLab Pipline 守护进程的错误响应:无法创建 shim 任务:OCI 运行时创建失败

GitLab Pipline 守护进程的错误响应:无法创建 shim 任务:OCI 运行时创建失败

我遇到以下问题,TEST 失败,错误消息如下:守护进程:无法创建 shim 任务:OCI 运行时创建失败:runc 创建失败:无法启动容器进程:容器初始化过程中出现错误,初始化容器进程,导致 Docker 容器无法正确启动。

  > Error response from daemon: failed to create shim task: OCI runtime
    > create failed: runc create failed: unable to start container process:
    > error during container init: error mounting
    > "/builds/data-test/platform_1/Assets/config/autoload/local.php.docker"
    > to rootfs at "/storage/Assets/config/autoload/local.php": mount
    > /builds/test/platform_1/Assets/config/autoload/local.php.docker:/storage/Assets/config/autoload/local.php
    > (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are
    > you trying to mount a directory onto a file (or vice-versa)? Check if
    > the specified host path exists and is the expected type
    > 
    > Uploading artifacts for failed job
    >

> WARNING: junit/*.xml: no matching files. Ensure that the artifact path
> is relative to the working directory
> (/builds/test/platform_1/Assets)

这个问题的原因是什么,任何帮助都将不胜感激。

相关内容