Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please publish Docker image to Dockerhub #2

Open
mingfang opened this issue Jan 29, 2023 · 1 comment
Open

Please publish Docker image to Dockerhub #2

mingfang opened this issue Jan 29, 2023 · 1 comment

Comments

@mingfang
Copy link

I'm unable to pull the image

docker pull ghcr.io/neondatabase/wsproxy:latest
Error response from daemon: Head "https://ghcr.io/v2/neondatabase/wsproxy/manifests/latest": unauthorized

Please publish this image.

@petuhovskiy
Copy link
Member

The ghcr.io image was private, we fixed that. Now you'll need to log in to GitHub Container Registry before you're able to pull the image. Here is an instruction on how to do that: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-with-a-personal-access-token-classic

  1. Create github token at https://github.com/settings/tokens?type=beta
  2. Login to the registry and pull the image
$ export CR_PAT=YOUR_TOKEN
$ echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
> Login Succeeded

$ docker pull ghcr.io/neondatabase/wsproxy:latest
> latest: Pulling from neondatabase/wsproxy
> c158987b0551: Already exists 
> d6c64aaec737: Pull complete 
> 1666dffa2867: Pull complete 
> Digest: sha256:504c8ea771b4eb4e5275b006812bd0d0d9b563172ecc12f0114249a90b0509b4
> Status: Downloaded newer image for ghcr.io/neondatabase/wsproxy:latest
> ghcr.io/neondatabase/wsproxy:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants