Robotics StackExchange | Archived questions

Docker with X11 output

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

Asked by michaeltesar on 2018-01-17 07:09:25 UTC

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?

Asked by jarvisschultz on 2018-01-17 08:25:36 UTC

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.

Asked by gvdhoorn on 2018-01-17 08:29:25 UTC

@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?

Asked by aarontan on 2019-06-24 15:51:54 UTC

Answers