Skip to content

Failed to pull docker image - supabase/postgres:15.8.1.018 #2977

Closed

Description

@jamesfeeder

Describe the bug
failed to pull docker image: Error response from daemon: manifest for public.ecr.aws/supabase/postgres:15.8.1.018 not found: manifest unknown: Requested image not found

System information

  • Ticket ID: 8af4e9f503d8424faed3b7f20168d3fa
  • Version of OS: Fedora Linux 41 (Workstation Edition)
  • Version of CLI: 2.0.0
  • Version of Docker: 27.4.0
  • Versions of services:
    Screenshot From 2024-12-17 08-22-20

Activity

  1. sweatybridge commented on Dec 17, 2024

    @sweatybridge
    Contributor

    Hi @jamesfeeder, our postgres team will work out the issue with Postgres image on ECR.

    Meanwhile the workaround is to delete the local version file.

    rm supabase/.temp/postgres-version
    
  2. jamesfeeder commented on Dec 17, 2024

    @jamesfeeder
    Author

    Thank you 🙏

    While I'm using this workaround, Is it able to 'db push' to remote?

    Just my curiosity, I don't have any plan to do it right now.

  3. eluce2 commented on Dec 17, 2024

    @eluce2

    I'm also having this issue, but deleting that temp file doesn't work for me, it just creates it again with the same version: 15.8.1.018

  4. Nciso commented on Dec 18, 2024

    @Nciso

    I have the same issue, there is no tag in the registry https://gallery.ecr.aws/supabase/postgres

  5. eluce2 commented on Dec 18, 2024

    @eluce2

    Ok, I guess my script was calling supabase link which was re-creating the version file. If I delete the file and then run the db pull --linked command, it works for me

  6. Nextc1 commented on Dec 19, 2024

    @Nextc1

    same issues with different version

    failed to pull docker image: Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgres:15.8.1.020": public.ecr.aws/supabase/postgres:15.8.1.020: not found

  7. gaharrington commented on Dec 19, 2024

    @gaharrington

    Hi @jamesfeeder, our postgres team will work out the issue with Postgres image on ECR.

    Meanwhile the workaround is to delete the local version file.

    rm supabase/.temp/postgres-version
    

    After I do this, supabase start fails to start:
    "supabase/postgres:15.6.1.143 => 15.8.1.020"

    Using the --ignore-health-check flag produces the same error.

  8. sweatybridge commented on Dec 20, 2024

    @sweatybridge
    Contributor

    After I do this, supabase start fails to start

    I forgot to mention that you also need to delete any backup volumes before restarting, ie. supabase stop --no-backup

  9. sweatybridge commented on Dec 21, 2024

    @sweatybridge
    Contributor

    This problem with upstream postgres image has been fixed. supabase/postgres#1372

  10. Ge6ben commented on Mar 8, 2025

    @Ge6ben

    I get the same issue! when I run supabase start
    It was working fine after stopping it and resetting the db I can not start it again!

    supabase -v --> 2.15.8
    version 27.5.1, build 9f9e405
    

    Error when I run supabase start

    failed to pull docker image: Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgres:15.8.1.044": failed to do request: Head "https://public.ecr.aws/v2/supabase/postgres/manifests/15.8.1.044": dialing public.ecr.aws:443 container via direct connection because  has no HTTPS proxy: connecting to public.ecr.aws:443: dial tcp: lookup public.ecr.aws: no such host
    
  11. Ge6ben commented on Mar 8, 2025

    @Ge6ben

    I get the same issue! when I run supabase start It was working fine after stopping it and resetting the db I can not start it again!

    supabase -v --> 2.15.8
    version 27.5.1, build 9f9e405
    

    Error when I run supabase start

    failed to pull docker image: Error response from daemon: failed to resolve reference "public.ecr.aws/supabase/postgres:15.8.1.044": failed to do request: Head "https://public.ecr.aws/v2/supabase/postgres/manifests/15.8.1.044": dialing public.ecr.aws:443 container via direct connection because  has no HTTPS proxy: connecting to public.ecr.aws:443: dial tcp: lookup public.ecr.aws: no such host
    

    I could fix it by delete the desktop version of docker and using that insalll it by
    brew install --cask docker
    and in that process it asked me to delete many files that related to old versions and giving permissions

    also add run this:
    nano ~/.docker/daemon.json
    and add these config:

    {
      "builder": {
        "gc": {
          "defaultKeepStorage": "20GB",
          "enabled": true
        }
      },
      "experimental": false,
      "dns": ["8.8.8.8", "8.8.4.4"]
    }
    

    and also run
    sudo chmod 666 ~/.docker/run/docker.sock

    In Mac system !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions