Skip to content

Instantly share code, notes, and snippets.

@manzil-infinity180
Last active February 22, 2025 07:34
Show Gist options
  • Save manzil-infinity180/910b0c1f5b4f41df7c1e7ae2ff8d2b31 to your computer and use it in GitHub Desktop.
Save manzil-infinity180/910b0c1f5b4f41df7c1e7ae2ff8d2b31 to your computer and use it in GitHub Desktop.
Docket pull problem
https://github.com/docker/for-mac/issues/7306#issuecomment-2663147749
-> https://github.com/docker/for-mac/issues/7306#issuecomment-2663111516
I am also getting similar issue from last week
```
docker run --name rss-reader-db -e POSTGRES_PASSWORD=admin -e POSTGRES_DB=golangWebRss --volume pg-data:/var/lib/postgresql/data --publish 5432:5432 -d postgres:bookworm
Unable to find image 'postgres:bookworm' locally
bookworm: Pulling from library/postgres
docker: failed to copy: httpReadSeeker: failed open: failed to do request: Get "https://docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com/registry-v2/docker/registry/v2/blobs/sha256/bb/bb75dba09c6a29b0ee84c1e5ab7d20bc9508408e18fa49392115278613fc3cb5/data?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=f1baa2dd9b876aeb89efebbfc9e5d5f4%2F20250217%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20250217T131149Z&X-Amz-Expires=1200&X-Amz-SignedHeaders=host&X-Amz-Signature=d232686f3179791b884d2cff6a00c7a0dd575315532cb207eb26fac154d2c116": dialing docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com:443 container via direct connection because has no HTTPS proxy: connecting to docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com:443: dial tcp: lookup docker-images-prod.6aa30f8b08e16409b46e0173d6de2f56.r2.cloudflarestorage.com: no such host.
See 'docker run --help'.
```
```
dig +trace production.cloudflare.docker.com
; <<>> DiG 9.10.6 <<>> +trace production.cloudflare.docker.com
;; global options: +cmd
;; Received 17 bytes from 2409:40e3:31da:ff1d::a2#53(2409:40e3:31da:ff1d::a2) in 93 ms
```
Change DNS Manually (Recommended) - On macOS
Open System Settings → Network.
Select your active connection (Wi-Fi or Ethernet).
Click Details → DNS.
Remove existing DNS servers (if any).
Add these:
Cloudflare DNS: 1.1.1.1, 1.0.0.1
Google DNS (alternative): 8.8.8.8, 8.8.4.4
Click OK and Apply.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment