[docker in docker]Rebuild dind images and leads to Cannot connect to the Docker daemon

When in docker in docker mode, i want to pull images from my insecure docker registry. So i rebuild the dind image by adding insecure-registry parameter.

But it showsCannot connect to the Docker daemon. Is the docker daemon running on this host?

I don't think i made any mistake, because even build the image from official dockerfile without change a word(means they have some hash) and then push to my dockerhub. It also tells me that Cannot connect to the Docker daemon. Is the docker daemon running on this host?

image: xxxx/docker:with-compose

services:
    - xxxx/docker:dind-with-insecure #seems only docker:dind works for me, but it can't access my insecure-registry.

before_script:
    - docker info

build:
  stage: build
  script:
  - docker pull my-insecure-registry/debian
$ cat /etc/gitlab-runner/config.toml
concurrent = 10
check_interval = 0

[[runners]]
  name = "My Docker Runner"
  url = "http://xxxx/ci"
  token = "xxxx"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "docker:latest"
    privileged = true
    disable_cache = false
    volumes = ["/cache"]
  [runners.cache]
    Insecure = false