Docker with X11 output

asked 2018-01-17 06:09:25 -0500

michaeltesar gravatar image

Hi, I would like to avoid having a virtual machine on my Macbook just to code some ROS nodes and try some vizualization with RViz and Gazebo.

I found a way how to run ROS full desktop in Docker which is fine. But I need to view some GUI outputs (Rviz, image_view, gazebo, etc.).

Is there any way to do it? I spend several days but no luck :-)

Best regards, Michael

edit retag flag offensive close merge delete

Comments

Have you tried any of the methods listed on the Docker GUI Tutorials? Did something go wrong? I've basically had all of these methods work at one point or another. Why have you had no luck?

jarvisschultz gravatar imagejarvisschultz ( 2018-01-17 07:25:36 -0500 )edit

I agree with @jarvisschultz, this has been working for quite some time (see osrf/car_demo fi).

Also: note that until 'Docker for Mac', Docker was using VirtualBox, so it would still be a VM.

gvdhoorn gravatar imagegvdhoorn ( 2018-01-17 07:29:25 -0500 )edit

@jarvisschultz@gvdhoorn I asked a question here regarding how to use the docker gui tutorials, do you mind giving me some insight on that post?

aarontan gravatar imageaarontan ( 2019-06-24 15:51:54 -0500 )edit