mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[GH-ISSUE #580] qemu segmentation fault on Apple M1 / arm64 #104
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @markerdmann on GitHub (Sep 23, 2021).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/580
The container crashes immediately after startup on an M1 Macbook. This is the log output:
fakegcs_1 | time="2021-09-23T18:41:16Z" level=info msg="server started at https://[::]:4443"
fakegcs_1 | qemu: uncaught target signal 11 (Segmentation fault) - core dumped
@fsouza commented on GitHub (Sep 23, 2021):
@markerdmann thanks for reporting. I don't have an M1 currently, so hard for me to investigate this 😞
Are you able to reproduce it when running natively, without a container?
@markerdmann commented on GitHub (Sep 23, 2021):
My current workaround is just to clone this repo and run with the fake-gcs-server/Dockerfile.
This might be the solution? https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
@fsouza commented on GitHub (Sep 23, 2021):
Oh I see, is the problem only when you pull the image from Docker Hub? I'll investigate more later.
@markerdmann commented on GitHub (Sep 23, 2021):
Yes, I think when building locally, Docker is able to use the multiarch builds of the two base images referenced in the Dockerfile.
@fafrd commented on GitHub (Oct 8, 2021):
Can confirm- I was able to work around this by cloning the repo and building/running the image manually:
in my case, I exposed the necessary ports/served on localhost for development:
@stoffeastrom commented on GitHub (Dec 28, 2021):
@fsouza Looks like you are using github actions. There are some actions available.
https://github.com/docker/setup-buildx-action#with-qemu
Something like: (note haven't tested this myself yet)