how can i conver this image for raspberry pi 3?
mcdoyaji opened this issue · 1 comments
mcdoyaji commented
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
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:
- download go1.9+ for Linux arm and extract it into
/usr/local
- it will create a folder/usr/local/go
Note: remember to add $HOME/go/bin to your $PATH - install Jupyter notebook for Raspberry Pi
- install Zeromq and pkg-config for Raspberry Pi
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.