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 imagegonzalocasas ( 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 imageJohnFred ( 2019-02-19 22:53:28 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

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 imageruffsl ( 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

3 followers

Stats

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

Seen: 273 times

Last updated: Feb 26