-
Notifications
You must be signed in to change notification settings - Fork 9
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
Not working on M1 Mac #24
Comments
Thanks for the bug report. That image is based on https://hub.docker.com/layers/jupyter/base-notebook/lab-3.1.17/images/sha256-4d30116ec280251db5553725fbccc23da7e6feafbbcbf6a4d3ae57c1088cd837?context=explore Please try to run the base image and tell me what happens:
|
The M1 Mac is a arm64 processor, and the ihaskell-notebook is based on that jupyterlab linux/amd64 image. There is a warning about that in the log you posted.
It looks like your M1 is trying to run the docker image in amd64 qemu emulation, but crashing.
One thing you could try is building the image yourself based on the linux/arm64 jupyter/base-notebook https://hub.docker.com/layers/jupyter/base-notebook/lab-3.1.17/images/sha256-8508e0546e3f5662b98daf2154c7196f8d4232ec4b301028f5d13904dcd934b8?context=explore There's a note about how to do that here. https://github.com/IHaskell/ihaskell-notebook#composition-with-docker-stacks I think the command to build would be
|
Maybe IHaskell/IHaskell#1384 will be helpful here. |
I would like to know if the NixOS flake for Learn You a Haskell works on an M1 Mac. |
I was able to start the docker container but it gave me a warning and eventually crashed. Showed the UI in the browser but it said it gave me "Error Starting Kernel" and then "Kernel Connection Error". Running macOS Monterey on an M1 Mac. This is the console log:
The text was updated successfully, but these errors were encountered: