At this time, it is not intended for the developer. Perhaps this is possible, but if there is a way to do this, it will be more complex than useful if you want the container after it starts. I would say no. Its against the basic idea of testing with a docker, in my opinion.
But I have an idea of a workaround:
Suppose you have a project with a file .gitlab-ci.yml. You can run the docker container yourself, where the docker is installed:
docker run -it debian:latest
and do your tests yourself. I think this is not practical, but it is a possible way. Perhaps this helps.
source
share