Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 3

Error response from daemon: unauthorized when I'm trying to pull public image from GPR

Solved! Go to Solution.

Hello experts!

I'm study Github Actions + Github Package Registry.

 

And i created images in Github Package Registry.

 

Here are my packages.

https://github.com/marley-nodejs?tab=packages

 

On page

https://github.com/marley-nodejs/MERN-Stack-Front-To-Back-v2.0/packages/22520

 

I see the command to pull image.

 

```

docker pull docker.pkg.github.com/marley-nodejs/mern-stack-front-to-back-v2.0/api.anketa.info:latest

```

 

When i am trying to run pull command on my linux host.

 

```

$ docker pull docker.pkg.github.com/marley-nodejs/mern-stack-front-to-back-v2.0/api.anketa.info:latest
Error response from daemon: unauthorized: Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.

```

What should i do to get public image without any authorization?

 

Thanks!

 

P.S. I was looking for solution for 15 minutes before create a new topic.

 

 

 

2 Replies
Copilot Lvl 3
Message 2 of 3

Re: Error response from daemon: unauthorized when I'm trying to pull public image from GPR

Happy Halloween Day!

Solution
Copilot Lvl 3
Message 3 of 3

Re: Error response from daemon: unauthorized when I'm trying to pull public image from GPR

Right now, even public images, require authorization.  Include your PAT as your password and your GitHub username as your username for Docker