How to add native docker-compose to official Jenkins image

I am using official Jenkins image:

  • Docker swarm load balancing on AWS not working
  • seafile docker - how to persist config/make container disposable
  • How to store my docker registry in the file system
  • No access to AWS RDS from AWS ECS Docker Container
  • Stop VM with MongoDB docker image without losing data
  • Access service on subdomain in Kubernetes
  • 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

  • Unable to set up Docker UCP cluster
  • How use Dokku with django?
  • Which way to run PostgeSQL in Docker?
  • Docker Reverse Proxy To Subdomains
  • npm install error inside docker container
  • Networking among kubernetes minions
  • 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.