Running drone pipeline with several docker containers


In several projects, we have integration tests with for example a database. With circle-ci it is defined at the beginning of each job :

      - image: circleci/openjdk:8-stretch
      - image:

The first contains the workflow running all the steps.

We tried with drone exec and docker run but as explained in the documentation there are isolation issues.

Is there a way for doing so with drone ?
If not how would you do as a workaround ?

Thank you for your answers.

Bruno Thomas

I answer my question : we found the services section that allows to execute other docker containers.

kind: pipeline
type: docker
name: default

  - name: test
    image: ruby:2.7
      - bundle install
      - bundle exec rspec

  - name: mysql
    image: mysql:8