简体   繁体   English

在 GitLab CI 中使用 QEMU 而不是 Docker 镜像

[英]Use QEMU in GitLab CI instead of Docker image

GitLab CI is highly integrated with Docker. GitLab CI 与 Docker 高度集成。

But sometimes, if the project depends on the interaction with Linux kernel like LUKS.但有时,如果项目依赖于与 LUKS 等 Linux 内核的交互。 It cannot works properly.它无法正常工作。

The project cryptsetup use Travis-CI instead of GitLab CI even if it host on gitlab.com.项目cryptsetup使用 Travis-CI 而不是 GitLab CI,即使它托管在 gitlab.com 上。 I don't know if it is just personal preference of project maintainer.我不知道这是否只是项目维护者的个人喜好。

Hence is it possible to run QEMU or Firecracker instead of Docker?因此,是否可以运行 QEMU 或 Firecracker 而不是 Docker?

Is there any equivalent alternative in GitLab than Travis-CI? GitLab 中是否有与 Travis-CI 等效的替代方案?

This is not yet supported.这还不支持。

A recent (mid-2019) gitlab-org/gitlab-runner issue 4338 mentions katacontainers with firecracker vms as one possible alternative to Docker Machine, for autoscaling.最近(2019 年中) gitlab-org/gitlab-runner 问题 4338提到带有 firecracker vms 的katacontainers作为 Docker Machine 的一种可能替代方案,用于自动缩放。

But this is still being studied.但这仍在研究中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM