Livebook running from Docker crashes on Mac

Hi,

I´m running livebook from docker:
docker run -p 8080:8080 -p 8081:8081 --pull always -u $(id -u):$(id -g) -v $(pwd):/data ghcr.io/livebook-dev/livebook

It starts and everything looks great untilI I run the Ash tutorial.

Then it crashes:

latest: Pulling from livebook-dev/livebook
Digest: sha256:6aca4f9921a7c3ade6a73efc2a0e76c5012107b4abbc82ac126955e3633e7179
Status: Image is up to date for ghcr.io/livebook-dev/livebook:latest
[Livebook] Application running at http://localhost:8080/?token=7s5rtrixnbeuehduwcuz6uknaexrrdp6
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Rosett was installed by running softwareupdate --install-rosetta

Is it anything I can do to make it work?

1 Like

Hey @martins! The Livebook image has both amd64 and arm64 variants, so it shouldn’t require emulation, I’m not sure as to why it wouldn’t pick up the right image by default. Perhaps try --platform linux/arm64 just in case?

4 Likes

Fantastic, that was it! :tada:

Thank you so much for your quick reply. :blush: