Tensorflow Enabled nvidia-docker for Xavier

Hello all,

I am currently trying to run nvidia-docker on Jetson Xavier with Tensorflow enabled inside the container but the main problem I’m facing right now is related to “libcublas.so”.

What I’ve tried so for is the solution mentioned here:


After the OpenGL image creation is completed, I started an interactive container from it. Then I followed the instructions from the link below to install Tensorflow GPU for Xavier:


All of the package installations (pip installs and apt-get installs) completed succesfully but when I try to import tensorflow from both Python 2.7 and 3.6, I get the following error:

ImportError: libcublas.so.10.0: cannot open shared object file: No such file or directory

Also when I enter find / -type f -iname “libcublas*” command, it gives this result:

find: ‘/proc/1/map_files’: Permission denied
find: ‘/proc/16/map_files’: Permission denied

Can you please help me on what I am missing and how can I manage to run tensorflow gpu on a docker container using Jetson Xavier?


nvidia-docker doesn’t support Jetson platform yet.
Please try the official docker to see if it works.

It looks like the topic you shared also use the official docker.

Hi again,

Yes, it uses the official docker but with “GPU Flags” enabled right? What I mean when I say “nvidia-docker on Jetson” is that the possibility of using the docker on Jetson with GPU enabled.

The script given in that topic is makes using docker with GPU flags enabled on Jetson Xavier possible, doesn’t it?


Hi @doruk898,

Your problem seems only this.

How about creating a symbolic link?

ln -s /usr/local/cuda/lib64/libcublas.so.10.0.117 /usr/local/cuda/lib64/libcublas.so.10.0


Official docker is working on Xavier. But nvidia-docker isn’t.

To use the CUDA library, you will need to add the corresponding path into the dockerfile:
Here is a good example for your reference:



Thanks for source. I’ve created the image with installing CUDA directly inside the container like the way JetPack installs it on the Xavier.



Maybe try this?

export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH


Hey @doruk898, I’m running into a similar issue. Can you please show your Dockerfile or explain how you were able to mimic the Jetpack installer within a Dockerfile?

Much appreciated!