2
我用GitLab CI亚军如何使用卷或坐骑服务容器,它使用命令:GitLab CI亚军,
docker run -d --name postgres postgres:9.4
我想要做这样的事情:
docker run -d --name postgres --volumes-from postgres_datastore postgres:9.4
但GitLab CI Runner不支持任何选项(-v or --volumes-from)
。
有没有其他办法?
你的例子会在一般的runner-container容器中装入路径(不是带有postgres-service的容器)。 – Eric
正确,你的问题有点误导。我更新了标题和答案,现在希望更清楚。 –