Open zacharyDez opened 8 months ago
The tags on the pgstac images show that arm64/v8 is absent. I do not know if previous versions of docker-compose
would default to the unknown tag, but it is not currently.
A solution could be to define the platform in the docker-compose file for the database (tested locally). But it seems an inefficient and un-recommend solution. @bitner @vincentsarago, any insights on how we should address this? Is it simple to add another tag to the pgstac image repository?
you may have to add https://github.com/developmentseed/eoAPI/blob/main/docker-compose.yml#L45 in your docker-compose.yml file but I don't think we want that by default
This should be solve once we update the new pgstac image (if we create a linux/arm64/v8
image).
I'm afraid all the other images weren't built for linux/arm64/v8
anyway 😭 but they will at one point!
Yes, exactly! Ok, I will keep the issue open to track progress.
Am bumping into this as well 😢 were you able to find a work-around to get docker compose up
to work on an m1
@zacharyDez ?
@batpad just add platform: linux/amd64
in each services https://github.com/developmentseed/eoAPI/issues/153#issuecomment-1781561265
Ah my bad - this seems to work, thank you @vincentsarago 🙏
Problem description
Since upgrading Docker desktop locally, I was unable to pull the database image:
Expected Output
An eoAPI end-user can run
docker compose up
and have a running instance regardless of their local machine.Environment Information