Docker Community Forums

Share and learn in the Docker community.

Pull image from private repository not possible


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?

thanks for sharing your feedbak ,this problem occurs me to also but i dont know the solution plz help me .
i need the documents plz share the documents