docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.16k stars 1.13k forks source link

no matching manifest for linux/arm64/v8 in the manifest list entries #1097

Closed SirMishaa closed 1 year ago

SirMishaa commented 1 year ago

Got this error when trying to pull a postgres image, it looks like an issue with the manifest or something

services:
  postgres:
    image: postgres:15-alpine
    # platform: linux/arm64/v8 <= It does't change anything 
    restart: unless-stopped
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: main_db
    ports:
      - 5432:5432
    volumes:
      - postgresdb_data:/var/lib/postgresql/data
    networks:
      - database

volumes:
  influxdb_data:
  postgresdb_data:

networks:
  database:

I have tried to use latest, with no success. What's happening ?

image

yosifkit commented 1 year ago

I am unable to reproduce:

$ docker pull --platform linux/arm64/v8 postgres:15-alpine
15-alpine: Pulling from library/postgres
08409d417260: Pull complete
6450d4e89514: Pull complete
fb127fe040bf: Pull complete
e07c05a5a317: Pull complete
14a4a63fb0e0: Pull complete
fd170937e677: Pull complete
3597d3193ab4: Pull complete
09ed13dfda56: Pull complete
Digest: sha256:bb2769783686897b370c061b4ad1aac5a819bccec7945d03c3b45a9b077bcea0
Status: Downloaded newer image for postgres:15-alpine
docker.io/library/postgres:15-alpine
$ docker pull --platform linux/arm64/v8 influxdb
Using default tag: latest
latest: Pulling from library/influxdb
d981f2c20c93: Pull complete
a9b4d959f2a9: Pull complete
5d80c3ff93d7: Pull complete
01c42b946f32: Pull complete
115ee03ed541: Pull complete
4e32c1c91c4e: Pull complete
16b1582531b4: Pull complete
398c9eb2b6b7: Pull complete
cfb5fc2f382c: Pull complete
b9f306a50992: Pull complete
Digest: sha256:8c7e6ab7363b19e580cd9c0f0599ef4cd0ab5a882ad92a39e4a249a16c1e7355
Status: Downloaded newer image for influxdb:latest
docker.io/library/influxdb:latest

There are some influxdb tags that don't have arm64v8 images, perhaps it is one of those? (https://hub.docker.com/_/influxdb/tags)

SirMishaa commented 1 year ago

Indeed, ty !