Docker Community Forums

Share and learn in the Docker community.

Pull image from private repository not possible

Hi

I have a private repository on dockerhub. I have an docker dind image which I would like to pull from gitlab when doing ci/cd pipeline. I am using docker login -u username -p password before doing the pull but I am not allowed because of wrong tag or missing login as it is required. If changing repository to public all is fine. What am I missing?