docker - 分别运行gitlab和gitlab-shell

标签 docker gitlab

我正在为gitlab构建docker镜像,我想遵循docker design –一个容器中的一个进程。是否可以在单独的容器(带有sshd)中运行gitlab shell?我应该注意任何陷阱吗?

最佳答案

根据gitlab.yml中的these lines,似乎不可能

  ## GitLab Shell settings
  gitlab_shell:
    path: /home/git/gitlab-shell/
    hooks_path: /home/git/gitlab-shell/hooks/

关于docker - 分别运行gitlab和gitlab-shell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45057746/

相关文章:

node.js - Docker/alpine : How to install nodeJS 4. 8.4 在 Alpine 图像

docker - 无法从 WSL2 docker 容器连接到 WSL2 localhost 服务器

mysql - 如何在dockerfile中还原MySQL数据库

git - 当 gitlab-CI 管道失败时阻止提交

git-crypt 明文保护?

docker - 如何在Docker容器中运行已安装的Shell脚本?

docker - 使用 Docker 时共享主机操作系统的内核

docker - 容器化和编排使用哪个工具以及原因

jenkins - 在 Gitlab 中添加 webhooks

git - 如何将维护者添加为 Gitlab 上项目的所有者