Does Jenkins Pipeline Plug-in support Docker Compose?

前端 未结 4 2144
深忆病人
深忆病人 2020-12-13 13:20

I\'m looking for a way to run Docker-enabled build consisting of multiple containers in Jenkins 2.0.

Are there any plans for native support of Docker Compose

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 13:47

    After searching in Jenkins bug tracking, JENKINS-35025 suggests docker-compose.yml is taken into account when running a job in a docker container, using a maven build.

    See also Creating CI pipeline with Jenkins, which assumes docker-compose is installed on your Jenkins server.

    Note: a year later (August 2017), docker-compose is still not supported in the Docker Pipeline plugin

    July 2018, Ivan Aracki notes in the comments:

    Manually installing docker-cli and docker-compose with the same version as host's is the solution for now...

提交回复
热议问题