ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how to run gazebo docker container in Mac

asked 2019-02-19 12:55:33 -0500

JohnFred gravatar image

Although gazebo can be installed on Mac directly, I found it's not very reliable during the use - for example, it spins all the time when I even try to drag a simple object into the model editor. I try to setup the docker on my Mac. But no material about how to get the gzclient running although there is way to get gzserver up and running form the gazebo docker container.

edit retag flag offensive close merge delete

Comments

Maybe obvious question, but did you try the official gazebo docker images? https://hub.docker.com/_/gazebo

gonzalocasas gravatar image gonzalocasas  ( 2019-02-19 13:33:31 -0500 )edit

Yes. The gazebo docket container only provides a gzserver. It does not prescribe how to get the gzclient side. Just looking for someone to share the experience because I believe many people use Mac for development.

JohnFred gravatar image JohnFred  ( 2019-02-19 22:53:28 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2019-02-26 10:08:13 -0500

JohnFred gravatar image

updated 2019-02-26 10:10:13 -0500

Did quite some research, including using xquartz server for mac and then get gazebo docker container to xquartz. None works because many of the legacy compatibility issues here and there, including XQartz support to new OpenGL etc. Also in the long run, Mac is moving to METAL then OpenGL... Also have looked into other alternative like Gzweb (web version of Gazebo client). Eventually, I started a typical PC + Ubuntu setup and everything is smooth.

edit flag offensive delete link more

Comments

The osrf/docker_images repo does host dockerfiles for gzweb you could try. I haven't tested them myself in a while though: https://github.com/osrf/docker_images...

ruffsl gravatar image ruffsl  ( 2019-02-26 17:07:21 -0500 )edit
0

answered 2019-03-28 08:08:49 -0500

mechatronics3d gravatar image

I have tested Docker on Ununtu 16.04, Ubuntu 18.04, and Mac. I get different errors for different hosts. It is very inconsistent. VirutalBox might be a better solution but I am not sure.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2019-02-19 12:55:33 -0500

Seen: 2,175 times

Last updated: Feb 26 '19