Greentea + docker + continuous integration

Hi all!

I am searching for a solution to use Continuous Integration (from a gitlab server) to run some unittests of a project using mbed-greentea. However, I would like mbed-greentea to run inside a docker with access to the target device.

So far, the major remaining problem is about the link between gitlab-runner and docker container.
Do you know what should be the configuration of the giltab-runner/config.toml and .gitlab-ci.yml for such a solution to work? Or do you know some documentation that could help me?
Or am I trying to do something that shouldn’t be done that way? ^^

During my research, I went through the following with no success so far:

Regards.