base0
Posts: 6
Joined: Thu Jul 18, 2019 1:52 am

cannot run a tensorflow docker image on Pi 3 B+

Fri Jul 19, 2019 4:35 am

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"

User avatar
rpdom
Posts: 14705
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

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

Fri Jul 19, 2019 5:54 am

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.

base0
Posts: 6
Joined: Thu Jul 18, 2019 1:52 am

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

Fri Jul 19, 2019 4:12 pm

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.

Return to “General discussion”