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 v8 image not supported on Apple Silicon #4336

Closed
elgreg opened this issue Aug 31, 2023 · 2 comments
Closed

docker v8 image not supported on Apple Silicon #4336

elgreg opened this issue Aug 31, 2023 · 2 comments
Labels

Comments

@elgreg
Copy link

elgreg commented Aug 31, 2023

Expected behavior:

Locally, I should be able to run a docker compose up with image: coralproject/talk:8 on an apple silicon laptop.

Actual behavior:

I get an error no matching manifest for linux/arm64/v8 in the manifest list entries

This is resolvable by adding platform: linux/amd64 to the docker-compose file, but is it possible that arm architecture could be added when pushing images to docker hub? Or does the stack actually need to run on amd64 and maybe docs should be updated with the platform line?

Here's the full working docker-compose file:

version: "2"
services:
  talk:
    # Added to avoid error about no matching manifest for linux/arm64/v8 in the manifest list entries
    platform: linux/amd64
    image: coralproject/talk:8.5.0
    ports:
      - "127.0.0.1:5000:5000"
    depends_on:
      - mongo
      - redis
    environment:
      - MONGODB_URI=mongodb://mongo:27017/coral
      - REDIS_URI=redis://redis:6379
      - SIGNING_SECRET=[redacted]
  mongo:
    image: mongo:4.2
    volumes:
      - ./data/mongo:/data/db
  redis:
    image: redis:3.2
    volumes:
      - ./data/redis:/data
@elgreg elgreg added the bug label Aug 31, 2023
@dkolkena dkolkena assigned kabeaty and unassigned kabeaty Nov 2, 2023
@kabeaty
Copy link
Contributor

kabeaty commented Nov 29, 2023

Hello, thank you for reporting this issue. We have a PR open to add the platform line to docker-compose here: #4378. This will be included in an upcoming release.

We are also working toward adding arm architecture when pushing images. Here is a PR related to this work: #4386

@losowsky
Copy link
Member

Closing as this has been fixed by the above PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants