diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccd668d6832855cd0afa11323fdb9a8fc4756ad6..1a07967adeb6cd41096d44c93c0257db90c110f6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,10 +74,10 @@ default:
 # Docker in Docker
 ##
 .dind:
-  image: docker:20
+  image:  ${DOCKER_HUB_IMAGE_MIRROR}docker:latest
   services:
     - alias: docker
-      name: docker:20-dind
+      name: ${DOCKER_HUB_IMAGE_MIRROR}docker:dind
   variables:
     DOCKER_DRIVER: overlay2