bigquery-emulator icon indicating copy to clipboard operation
bigquery-emulator copied to clipboard

Support linux/arm64/v8 Apple Silicon docker architecture

Open SButterfly opened this issue 1 year ago • 6 comments

Currently, if you start ghcr.io/goccy/bigquery-emulator:0.4.3 docker will write a warning.

➜  ~  docker run --rm -i -t -d ghcr.io/goccy/bigquery-emulator:0.4.3 --project=test
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
b51e130c41d14c3ef4eb0f2864512f44edad39d847994cf2bd5421bba5758581

SButterfly avatar Jul 25 '23 11:07 SButterfly

I have already written about how to deal with it here, have you already tried it? https://github.com/goccy/bigquery-emulator#how-to-start-the-standalone-server

If you are using an M1 Mac ( and Docker Desktop ) you may get a warning. In that case please use --platform linux/x86_64 option.

goccy avatar Jul 25 '23 12:07 goccy

Thank you. But unfortunately, this warning also appears inside test-containers. It would be better if the docker image for Apple Silicon architecture will be published as well.

SButterfly avatar Jul 26 '23 12:07 SButterfly

This flag (--platform) won't do anything if it's not multi-platform docker image. Image needs to be built for both platforms.

kanekv avatar Jan 23 '24 00:01 kanekv

Thank you. But unfortunately, this warning also appears inside test-containers. It would be better if the docker image for Apple Silicon architecture will be published as well.

Actually, at least for me given my Docker Desktop installation on an Apple Silicon Mac and use of testcontainers-hs, it isn't just a warning: I get an exception specifically about the fact there's no arm64/v8 image.

paul-snively avatar Apr 09 '24 18:04 paul-snively

@paul-snively I have the same problem. Did you manage to solve it?

MaiElshiashi avatar May 15 '24 15:05 MaiElshiashi

Yes. The package is published on my fork.Sent from my iPhoneOn May 15, 2024, at 11:26 AM, MaiElshiashi @.***> wrote: @paul-snively I have the same problem. Did you manage to solve it?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

paul-snively avatar May 18 '24 10:05 paul-snively