Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Getting started with ROS and Docker Network
Description: This tutorial walks you through using Docker Network with ROS containers.Keywords: ROS, Docker, Network
Tutorial Level: INTERMEDIATE
Docker Networks is still Experimental
As of Docker 1.7, Docker Network is still Experimental and remains in heavy development. The Network CLI is likely to change and evolve, and so this wiki page may need help in remaining up to date. Experimental releases of Docker can be acquired here. Caution should be exercised when using unstable releases.
Network is a tool for defining networks to use when managing services and containers running complex applications with Docker. With Network, you define a multi-host networked application, then attach your services so that containers across your cluster running your swarm in communicate with each other. So basically, this will help you distribute say a cloud based robotic application by managing much of the intricate network plumbing for you. Before we get ahead of ourselves, its highly recommend to look over the Official Docker Network documentation to get familiar with what it's good for and what it can do, then come on back here to see how we can apply this tool to ROS specifically.
What is Network
Docker Network is a newer extension to growing list of tools for working with containers. Leveraging the open library libnetwork,
Using Network
Making a Network