How could I pass parameter to dind at gitlab runner

I want to start my dind which like to run this command docker run --rm --name dind -it --privileged docker:dind --insecure-registry 10.4.211.51:5000 at Gitlab Runner.

But I cannot find an example then I could pass insecure-registry at gitlab-ci.yml.
Does anyone know how to pass parameter at config file ?

@Rukeith can you share how you solved this? :slight_smile:

I found I could write gitlab-ci.yml like this to pass parameter.
Gitlab docs not quite introduce this command

services:
  - name: docker:dind
    command: ["--insecure-registry=10.4.211.51:5000"]