Page 1 of 1

cannot run a tensorflow docker image on Pi 3 B+

Posted: Fri Jul 19, 2019 4:35 am
by base0
I installed docker on Raspberry Pi 3 B+.

I pull tensorflow image.

Code: Select all

sudo docker pull tensorflow/tensorflow
I tried to run the image.

Code: Select all

sudo docker run -it tensorflow/tensorflow bash
I got this error.

Code: Select all

standard_init_linux.go:211: exec user process caused "exec format error"

Re: cannot run a tensorflow docker image on Pi 3 B+

Posted: Fri Jul 19, 2019 5:54 am
by rpdom
You'll probably find that the tensorflow docker image is for x86 CPUs only. You'd need an armhf image to run on a Pi.

If there is a Dockerfile available you can probably build your own image on the Pi, which should work.

Re: cannot run a tensorflow docker image on Pi 3 B+

Posted: Fri Jul 19, 2019 4:12 pm
by base0
Thank you. I tried an image from https://github.com/DeftWork/tf-jupyterlab-py2 and able to run TensorFlow with Python 2.

I wish there will be an official image from TensorFlow.