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

Running Bebop_Autonomy in a Docker Container

asked 2017-04-10 22:10:17 -0500

Mabecr gravatar image

updated 2017-04-10 23:40:23 -0500

I'm attempting to run bebop_autonomy in a Docker for Windows container. If I run it on a linux host system in our lab with --network=host, it seems fine. Everything works out, I can start the node up, and I can view the stream using the web_video_server node. However, when I try to run the node in the windows container, I get a -11 error with "No Acks received" back. I'm trying to set it up so that the network is bridged instead of NAT, but I can't figure out how to do it. Is this even possible to do, or should I stick to developing on linux for now? I'm guessing the container just isn't getting the packets and it isn't a problem with my container's code, but that could be the problem as well.

edit retag flag offensive close merge delete


You're not talking about Docker for Windows Server here, correct?

gvdhoorn gravatar image gvdhoorn  ( 2017-04-11 12:00:21 -0500 )edit

No. Docker released a version made to run on a windows machines called Docker for Windows. It can be found on their website. (I'm on mobile at the moment, so I can't link it.) Docker on Linux does exactly what I need, but Docker for Windows either needs to be configured differently or doesn't work.

Mabecr gravatar image Mabecr  ( 2017-04-11 14:15:57 -0500 )edit

Docker released a version made to run on a windows machines called Docker for Windows

I know. I was just making sure.

Docker for Windows has the 'docker server' as they call it running in a VM. That is going to complicate things considerably, especially with NAT involved.

gvdhoorn gravatar image gvdhoorn  ( 2017-04-12 00:44:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-04-18 00:40:57 -0500

Mabecr gravatar image

I ended up achieving what I wanted by going into the Hyper-V manager, creating a network that uses an external wifi-adapter, and telling the container to use that instead. Very weird and janky, bur it works correctly. It's possible to run bebop_autonomy in a container on Windows.

edit flag offensive delete link more

Question Tools


Asked: 2017-04-10 22:10:17 -0500

Seen: 151 times

Last updated: Apr 18 '17