Files
docker-docs/content/guides/ros2/_index.md
Shakirth Anisha d827401e6f Merge pull request #24108 from shakirth-anisha/ros2_guide
docs: Add guide for running ROS2 with Docker
2026-02-16 14:26:51 +01:00

1.7 KiB

title, linkTitle, description, keywords, summary, toc_min, toc_max, languages, tags, params
title linkTitle description keywords summary toc_min toc_max languages tags params
Introduction to ROS 2 Development with Docker ROS 2 Learn how to containerize and develop ROS 2 applications using Docker. ros2, robotics, devcontainers, python, cpp, Dockerfile, rviz This guide details how to containerize ROS 2 applications using Docker. 1 2
python
frameworks
time image featured
30 minutes /images/guides/ros2.jpg true

Acknowledgment

This guide is a community contribution. Docker would like to thank Shakirth Anisha for her contribution to this guide.

ROS 2 is a set of software libraries and tools for building robot applications. It uses Data Distribution Service (DDS) for real-time, secure communication between distributed nodes, making it ideal for robotics and autonomous systems.


What will you learn?

In this guide, you'll learn how to:

  • Use official ROS 2 base images from Docker Hub
  • Run ROS 2 in an Ubuntu container
  • Install ROS 2 packages and dependencies
  • Set up a development container for local development
  • Run a complete end-to-end example with Turtlesim

Prerequisites

Before you begin, make sure you're familiar with the following:

  • Docker Desktop: You must have Docker Desktop installed and running.
  • Docker concepts: You must understand core Docker concepts, such as images and containers.
  • ROS 2 concepts: Basic understanding of concepts like nodes, packages, topics, and services.

What's next?

Start by setting up your ROS 2 development environment using Docker and dev containers.