Docker Community Forums

Share and learn in the Docker community.

Pulling docker:19.03-dind from private ACR

I have been trying to create pod using docker:19.03-dind image from docker hub and it worked fine but if I push the same image to private ACR and then try to pull the same image, I am getting the following issue.

Error: failed to start container “dind”: Error response from daemon: OCI runtime create failed: container_linux.go:370: starting container process caused: exec: “”: executable file not found in $PATH: unknown.

If anyone facing the same issue and if possible share the workaround for the same.

You need to provide authentication details to your Gitlab Runner because it needs to pull the image.

You need to create DOCKER_AUTH_CONFIG secret variable with the authentication details as below

“auths”: {”: {
“auth”: “bXlfdXNlcm5hbWU6bXlfcGFzc3dvcmQ=”
This you can get by logging into docker locally and and checking ~/.docker/config.json

The documentation provides good details on this