Robot software in Docker
Containerises ROS 2 workspaces with compose, DDS discovery and GPU access, so dev and robot builds match.
Claude's review
8/10 thorough Docker for ROS2 guide with multi-stage Dockerfiles, compose, DDS, GPU and device passthrough
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Best practices for Docker-based ROS2 development including multi-stage Dockerfiles, docker-compose for multi-container robotic systems, DDS discovery across containers, GPU passthrough for perception, and dev-vs-deploy container patterns. Use this skill when containerizing ROS2 workspaces, setting up docker-compose for robot software stacks, debugging DDS communication between containers, configuring NVIDIA Container Toolkit for GPU workloads, forwarding X11/Wayland for rviz2 and GUI tools, or managing USB device passthrough for cameras and serial devices. Trigger whenever the user mentions Docker with ROS2, docker-compose for robots, Dockerfile for colcon workspaces, container networking for DDS, devcontainer for ROS2, multi-stage builds for ROS2, or deploying ROS2 in containers. Also trigger for CI/CD with Docker-based ROS2 builds, CycloneDDS or FastDDS configuration in containers, or shared memory in Docker. Covers Humble, Jazzy, and Rolling distributions across Ubuntu 22.04 and 24.04 base images.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: docker-ros2-development
description: >
Best practices for Docker-based ROS2 development including multi-stage Dockerfiles, docker-compose
for multi-container robotic systems, DDS discovery across containers, GPU passthrough for perception,
and dev-vs-deploy container patterns. Use this skill when containerizing ROS2 workspaces, setting up
docker-compose for robot software stacks, debugging DDS communication between containers, configuring
NVIDIA Container Toolkit for GPU workloads, forwarding X11/Wayland for rviz2 and GUI tools, or
managing USB device passthrough for cameras and serial devices. Trigger whenever the user mentions
Docker with ROS2, docker-compose for robots, Dockerfile for colcon workspaces, container networking
for DDS, devcontainer for ROS2, multi-stage builds for ROS2, or deploying ROS2 in containers. Also
trigger for CI/CD with Docker-based ROS2 builds, CycloneDDS or FastDDS configuration in containers,
or shared memory in Docker. Covers Humble, Jazzy, and Rolling distributions across Ubuntu 22.04
and 24.04 base images.
---
# Docker-Based ROS2 Development Skill
## When to Use This Skill
- Writing Dockerfiles for ROS2 workspaces with colcon builds
- Setting up docker-compose for multi-container robotic systems
- Debugging DDS discovery failures between containers (CycloneDDS, FastDDS)
- Configuring GPU passthrough with NVIDIA Container Toolkit for perception nodes
- Forwarding X11 or Wayland displays for rviz2 and rqt tools
- Managing USB device passthrough for cameras, LiDARs, and serial devices
- Building CI/CD pipelines with Docker-based ROS2 builds and test runners
- Creating devcontainer configurations for VS Code with ROS2 extensions
- Optimizing Docker layer caching for colcon workspace builds
- Designing dev-vs-deploy container strategies with multi-stage builds
## ROS2 Docker Image Hierarchy
Official OSRF images follow a layered hierarchy. Always choose the smallest base that satisfies dependencies.
```
┌──────────────────────────────────────────────────────────────────┐
│ ros:<distro>-desktop-full (~3.5 GB) │
│ ┌────────────────────────────────────────────────────────────┐ │
│ │ ros:<distro>-desktop (~2.8 GB) │ │
...From arpitg1304's repository, Apache-2.0 licence.
Related skills
-
Checked
Incident postmortem writer
Writes blameless incident postmortems with fishbone and five whys analysis, so the team fixes root causes.
8/101 credit -
Checked
Akka.NET cluster management
Sets up Akka.NET cluster bootstrapping, service discovery and health checks, with no static seed nodes needed.
7/101 credit -
Checked
Terraform and OpenTofu
Sets up Terraform or OpenTofu modules, state and secrets with safe plan and apply for predictable changes.
8/101 credit -
Checked
AWS Lambda web apps
Builds and deploys Express, Fastify or Hono apps on AWS Lambda web functions, so your site runs serverless.
7/101 credit -
Checked
Cloud IAM audit
Audits and designs access across AWS, GCP, Azure and identity providers for least privilege and clean SSO.
7/101 credit -
Checked
Grafana APM and RUM
Sets up Grafana Cloud app monitoring, Faro frontend RUM and LLM tracing to show latency and errors.
7/101 credit