useDockerInDocker
fun Job.useDockerInDocker(dockerVersion: String = "20.10", dockerInDockerVersion: String = "-dind")(source)
Configures the current job to use the docker
command using Docker In Docker.
For more information, see the GitLab documentation.
Parameters
dockerVersion
The version of Docker to use, which must correspond to a tag of the official docker image.
dockerInDockerVersion
The version of the Docker, which must correspond to a tag of the official docker image with DinD enabled.