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

Communicating to Docker container on OSX

asked 2017-09-25 04:33:14 -0500

hawesie gravatar image

I would like to run some ROS-related things natively on OSX (simulators to take advantage of GPU acceleration), and the majority of the rest of a ROS system in an Ubuntu Docker container (to take advantage of packages and standards). Is this possible? If so, does anyone have an example of the configuration required?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-09-27 18:33:39 -0500

ruffsl gravatar image

I think the Docker for Mac install has a special network config, as it really just hosts a lightweight VM for the linux kernel. That config kind of makes it tricky to expose ROS containers transparently. I don't think it's impossible, but I haven't seen a properly solved issue on it posted on answers.ros yet, and I don't own a mac to debug it. My guess is if you could just get to the point in being able to address the VM on Mac via a unique IP, then load containers onto the host via docker run --net=host, then all ports would be easily accessible, and all you'd need to do is just keep in mind the ROS master URI.

Related:
https://github.com/osrf/docker_images...
https://answers.ros.org/question/2693...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-09-25 04:33:14 -0500

Seen: 618 times

Last updated: Sep 27 '17