dockerdocker-composeartifactory

Docker: Error response from daemon: unauthorized: The client does not have permission for manifest


My company uses Artifactory to store it's artifacts and I was getting this error when I tried to pull down the image.

When I run docker compose up -d I got the error, Error response from daemon: unauthorized: The client does not have permission for manifest

I have no idea what to do with this. I was directed to this article but it didn't do anything: K8s Image Pull from Private Artifactory and https://github.com/kubernetes-sigs/kustomize/issues/1420

But still didn't work


Solution

  • It turned out I needed to run the command docker login -u your-username@your-domain.com your-company-or-project-docker.jfrog.io

    Then you put in your Artifactory apikey as the password.