How to add native docker-compose to official Jenkins image

I am using official Jenkins image:

  • convert Dockerfile to Bash script
  • Docker container doesn't see files on windows volumes when the volume endpoint isn't on the drive C:
  • nginx doesn't forward to django app in docker-compose in ubuntu but it all works in docker-machine in Mac
  • Deploy my application to cluster of multiple vms using orchestration tools
  • Ruby and Rails “path not found” when installed using RVM on Docker
  • where should I put docker-compose.yml
  • I wonder which is the best approach to add native docker-compose to it. For a full continuous integration system I need Jenkins to start Gradle+docker+docker-compose applications but, unlike with Docker plugins, docker-image plugins for Gradle act just as docker-compose frontend, needing it to be native installed. I will then use simple shell scripts in Jenkins to run the docker-compose up commands before the tests.

    Note: Docker should be executed in a external Host, obviously, not locally as we are inside a docker already. I wonder if I can avoid installing the full Docker stack in the Jenkins docker image.

    Thanks for any ideas

  • Heroku: Dockerized Rails API Deploying
  • Setting absolute limits on CPU for Docker containers
  • Is it possible to start a shell session in a running container (without ssh)
  • How to start muli process in background with supervisor on Docker
  • Compose: running a container that exits
  • Which docker client and daemon is used by openshift origin to pull images when creating new-app?
  • One Solution collect form web for “How to add native docker-compose to official Jenkins image”

    docker-compose is right on the same level as docker-engine – so the host you want to run docker-images / containers on, need docker-engine, and if you want to run them using docker-compose, you need that on the host – that is best practise

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.