henry2423 / docker-ros-x11 Goto Github PK
View Code? Open in Web Editor NEWA docker environment with ROS, Gazebo, X11 and Tensorflow
License: Apache License 2.0
A docker environment with ROS, Gazebo, X11 and Tensorflow
License: Apache License 2.0
While my setup is a bit different I am trying to do a very similar thing. So I wanted to reach out and see if you have ever seen this error before while trying to open Gazebo within a docker container.
My setup:
Host: Fedora 35
Docker Image: ros2:foxy
Docker script setup is essentially the same as your install Gazebo setup though so this is where I was hoping you might have insights into this error. I don't have a GPU so I am not attempting to build your image to test.
Why is the current Dockerfile being built with CUDA version 10.0 and Tensorflow 1.11? According to the Tensorflow docs, 1.11 is only compatible with CUDA 9:
https://www.tensorflow.org/install/source#tested_build_configurations
Running the container indeed results in an error indicating that tensorflow is looking for CUDA 9.0:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 22, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory
Dear Henry,
First of all thanks a lot for supplying this amazing image. I tried it in docker and it works great. However, I could not get it to work in singularity. I tried using the following command to make it work:
singularity build test.simg docker://nvcr.io/henry2423/ros-x11-ubuntu:kinetic
When I do this I get the following error:
WARNING: Authentication token file not found: Only pulls of public images will succeed
INFO: Starting build...
FATAL: While performing build: conveyor failed to get: error getting username and password: error reading JSON file "/home/ricks/.docker/config.json": error unmarshaling JSON at "/home/ricks/.docker/config.json": unexpected end of JSON input
I tried authenticating myself but I think the error comes from the fact that your image is currently not available in the nvcr.io repository.
Can you maybe give me some advice on how to run your image in singularity instead of docker.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.