foundry-rs / foundry

Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.
https://getfoundry.sh
Apache License 2.0
8.12k stars 1.68k forks source link

Apple Silicon (M1/M2) - no matching manifest for linux/arm64/v8 error with `ghcr.io/foundry-rs/foundry:latest` #8039

Open Le-Caignec opened 3 months ago

Le-Caignec commented 3 months ago

Component

Anvil

Have you ensured that all of these are up to date?

What version of Foundry are you on?

ghcr.io/foundry-rs/foundry:latest

What command(s) is the bug in?

No response

Operating System

macOS Version: [Sonoma 14.5] Docker Version: [Your Docker version] Apple Silicon Chip: [Apple M2]

Describe the bug

Hello,

I am encountering an issue when trying to use the ghcr.io/foundry-rs/foundry:latest Docker image on my Mac with an Apple silicon chip (M1/M2). This image worked previously, but now it fails with the following error:

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

Steps to Reproduce:

Expected Behavior:

The Docker image should pull and run successfully on an Apple silicon Mac.

Can you please investigate and provide support for Apple silicon Macs?

Thank you!

grandizzy commented 3 months ago

there is no (tagged) image for it (probably we should consider publishing one), for now try using

docker pull --platform linux/amd64 ghcr.io/foundry-rs/foundry:latest

Le-Caignec commented 3 months ago

Thanks