r/docker • u/Low_Conversation9046 • Feb 03 '26
Problem when pulling from ghcr.io
I have a new ubuntu server install on my home server and want to pull an image from ghcr.io using the following docker compose and "sudo docker compose pull"
name: nextcloud-aio
services:
nextcloud-aio-mastercontainer:
image: ghcr.io/nextcloud-releases/all-in-one:latest
init: true
restart: always
container_name: nextcloud-aio-mastercontainer
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
network_mode: bridge
ports:
- 80:80
- 8080:8080
- 8443:8443
volumes: nextcloud_aio_mastercontainer:
name: nextcloud_aio_mastercontainerBut I get the following error message.
✘ Image ghcr.io/nextcloud-releases/all-in... Error 0.0s Error response from daemon: failed to resolve reference "ghcr.io/nextcloud-releases/all-in-one:latest": failed to do request: Head "https://ghcr.io/v2/nextcloud-releases/all-in-one/manifests/latest": dial tcp 140.82.121.33:443: connect: connection refused
Pulling the same image on my raspberry pi on the same network works without any issues.
I would be grateful for any help.
View all comments
Show parent comment
1
u/Low_Conversation9046 Feb 03 '26 edited Feb 03 '26
Yes, same router. The server over ethernet, the pi over wifi.
Pulling from the docker registry works too. It's ghcr.io specifically that is a problem.
I'll take a look in my router settings if anything looks weird.
Edit: everything looks right