gopherdata / gophernotes

The Go kernel for Jupyter notebooks and nteract.
MIT License
3.83k stars 264 forks source link

how can i conver this image for raspberry pi 3? #94

Closed mcdoyaji closed 5 years ago

mcdoyaji commented 6 years ago

I want to run it on my pi.

But I got error messages below:

~$ docker run -it -d --name gophernotes -e VIRTUAL_HOST=someHostDomain
gopherdata/gophernotes-ds
0bf8557a2ddd3a7d0160993b93f08d1e8b666e5ab57d3b568dbf2026097ad07a
docker: Error response from daemon: rpc error: code = 2 desc = "oci runtime error: exec format error".
cosmos72 commented 6 years ago

Raspberry Pi is an ARM system, it cannot run natively a docker image containing amd64 / 386 executables. And amd64 / 386 emulation would be too slow on a Raspberry.

Assuming you have some Linux distribution on your Pi (hopefully Raspbian), you should follow the installation procedure for Linux explained at https://github.com/gopherdata/gophernotes#installation

Start with the prerequisites:

Then follow the gophernotes instructions for Linux

Of course, if somebody had prepared a gophernotes docker image for Raspberry Pi, using it would be simpler than the manual procedure listed above. But a quick google search returned nothing relevant.