Dockerfile here is used to build image at: https://hub.docker.com/r/nhphuong91/ros2_turtlebot
This image contain all necessary pkgs for running turtlebot3 sim
For running it, follow through below steps:
- Setup
osrf/rocker
: https://github.com/osrf/rocker/ - Pull
nhphuong91/ros2_turtlebot
image - Run docker using below command (remove
--nvidia
if unnecessary)
rocker --nvidia --x11 --volume <PATH>/<TO>/ros2_meta -- nhphuong91/ros2_turtlebot:0.1
NOTE 1: For intel IGP, follow this section: https://github.com/osrf/rocker/#intel-integrated-graphics-support
NOTE 2: See here for further info: https://github.com/osrf/rocker/#volume-mount