Run multiple containers on same job

Hi!

I would like to know if is there some way to run multiple containers (Docker) on same job.

To execute some test I need to run one container by service, as DB, Web, …

I thought to run just docker-compose, but looks tricky …

So I’m curious if Gitlab offers some feature like Drone.

Regards.

You have an option to run Docker containers as services https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service.

1 Like

Awesome! Tha’s because I love Gitlab features!

Thanks for your help.

1 Like

Awesome!