Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker | no matching manifest for linux/arm64/v8 in the manifest list entries #2721

Closed
glebshkut opened this issue Apr 18, 2023 · 3 comments
Closed

Comments

@glebshkut
Copy link

When I'm running docker compose --profile frontend-dev up --build --attach-dependencies command in the root of the project
I get the following error:

[+] Running 0/1
 ⠴ db Pulling                                                         1.5s 
no matching manifest for linux/arm64/v8 in the manifest list entries

I'm using an Apple M1 chip, I tried to specify the platform in docker-compose.yaml file, it started composing, but later crashed

@dominiquegarmier
Copy link
Contributor

you can add platform: linux/x86_64 just below

Im unsure if this should be changed. Something might depend on it not being there. We could however create an extra docker-compose environment for M1

@glebshkut
Copy link
Author

glebshkut commented Apr 18, 2023

Yeah, it helped. Thanks!

@dominiquegarmier
Copy link
Contributor

dominiquegarmier commented Apr 18, 2023

I believe #2725 should fix your problem. For the time being you will have to remove the line on every commit (or just git remove docker-compose.yml)

andreaskoepf pushed a commit that referenced this issue Apr 22, 2023
related to issue #2721

enables specifying platform for service `db` using environment variable
`DB_PLATFORM`. If left unspecified (silently) defaults to current
behaviour.

this solves the issue where M1 users where unable to use docker-compose
as the `db` service relies on
`ghcr.io/laion-ai/open-assistant/oasst-postgres` (which does not support
`linux/arm64/v8` as plaform).

sadly (afaik) docker-compose does not offer something akin to `docker
--platform` you have to set it in the compose-file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants