【发布时间】:2019-07-29 06:46:15
【问题描述】:
我目前正在使用 Docker 运行 Jenkins。在尝试构建 docker 应用程序时,我对是否应该通过绑定 /var/run/docker.sock 文件或在我的 Jenkins Docker 中安装另一个 docker 实例在 Docker (Dind) 中使用 Docker 存在疑问。实际上我之前看到过,不鼓励使用 docker.sock 以外的其他东西。
我真的不明白为什么除了不污染主机之外,我们还应该使用主机上的 docker 守护程序以外的其他东西。
【问题讨论】:
标签: docker continuous-integration docker-in-docker