Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 447 Bytes

File metadata and controls

18 lines (14 loc) · 447 Bytes

ROS2 Docker Image

  • Contains sample image with useful tools to quickly get started with ros2

Build Image

docker build -t ros2_dev . 

Run container

docker run --privileged -v /dev:/dev -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v "$HOME/.Xauthority:/home/ubuntu/.Xauthority:rw" --network host --name ros2_dev -itd ros2_dev

Exec into the container

docker exec -it ros2_dev /bin/bash