-
Notifications
You must be signed in to change notification settings - Fork 183
Adding nvidia-docker2 env to desktop #165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
libglvnd0 seems to already be installed from ros-robot
|
@ruffsl I also get the segfault. I notice this image is not based on the nvidia/cuda ubuntu image therefore the `nvidia-smi command doesn't work. I have some (and it looks like you do too) ros-nvidia images based on the nvidia/cuda docker image: Why not have an "official" ros docker image based on the nvidia/cuda image? Here is my dockerfile:# nvidia-docker build -t rosindustrial/ros-core-nvidia:latest . FROM nvidia/cuda:9.2-devel-ubuntu16.04 LABEL maintainer "Austin.Deric@gmail.org"Setup your sources.listRUN sh -c 'echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list' Set up your keysRUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116 InstallationRUN apt-get update && apt-get install -y Initialize rosdepRUN rosdep init RUN echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc RUN apt-get update && apt-get install -y Or, you can pull it here: |
|
Ok, looks like it might be an issue with the current release binary of rviz:
As I just created a child image that builds rviz from source using current devel branch and that seems to run fine without segfaulting. See gist here: https://gist.github.com/ruffsl/e7ca631a618ece3eb0be8e4bf168accb Which is odd given that that release above stems from the current head of the devel branch: |
tfoote
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we have the ability to run docker images in nvidia docker without baking in the nvidia before hand using: https://github.com/osrf/rocker
I think it makes sense to not bake those things into the core images.
Sounds fair. Seeing how modifing the envs in images alone would still require additional run arguments to set the environment, display, drivers, etc, it makes sense to outsource such configuration directly to such tools as well. |
libglvnd0 seems to already be installed from ros-robot, so I just needed to set the ENVs.
Ties in with osrf/docker_templates#41
One odd thing however is that I can not run rviz on melodic from a ubuntu 16.04 host running nvidia-docker2. Not sure why yet. Example:
Details
<\details>
<\details>