ROS2 docker images
graph TD;
drone:lidar:::style1-->drone:jetson:::style1;
drone:mcap:::style1-->drone:jetson;
drone:gps:::style1-->drone:jetson:::style1;
drone:jetson-->ubuntu:jammy:::style2;
classDef style1 fill:#34aec5,stroke:#152742,stroke-width:4px,color:#152742
classDef style2 fill:#152742,stroke:#34aec5,stroke-width:4px,color:#34aec5
git clone https://github.com/jkk-research/docker_ros2_imagescd docker_ros2_images/src/droneOptionally use --no-cache --network=host if you want to rebuild the entire image.
docker build -f jetson.Dockerfile -t drone:jetson .docker build -f gps.Dockerfile -t drone:gps .docker build -f mcap.Dockerfile -t drone:mcap .docker build -f lidar.Dockerfile -t drone:lidar .docker build -f robosense_lidar.Dockerfile -t drone:robosense_lidar .docker build -f livox_lidar.Dockerfile -t drone:livox_lidar .docker run -it --rm --privileged=true --network=host --ipc=host --pid=host --name gps1 drone:gpsros2 launch drone_bringup gps1.launch.pydocker run -it --rm -v /home/nvidia/bag/:/bag --privileged=true --network=host --ipc=host --pid=host --name mcap1 drone:mcap cd /home/ros2_ws/src/jkk_utils/drone_bringup/etc && ./record_mcap1.sh drone1_docker run -it --rm --privileged=true --network=host --ipc=host --pid=host --name lidar1 drone:lidarros2 launch drone_bringup lidar1.launch.pydocker run -it --rm --privileged=true --network=host --ipc=host --pid=host --name lidar1 drone:robosense_lidarros2 launch rslidar_sdk start.pydocker run -it --rm --privileged=true --network=host --ipc=host --pid=host --name lidar1 drone:livox_lidarros2 launch livox_ros_driver2 msg_HAP_launch.py"Note: It's just a base image, but in case you need it:
docker run -it --rm --privileged=true --network=host --ipc=host --pid=host --name jetson1 drone:jetson rsync -avzh --progress [email protected]:/home/nvidia/bag/ /home/he/bag/
receiving incremental file list- Wiki page: https://github.com/szenergy/szenergy-public-resources/wiki/ROS-2-humble-jeston-docker
- Docker hub
dustynv/ros: https://hub.docker.com/r/dustynv/ros - Docker hub
ubuntu/jammy: ttps://hub.docker.com/layers/library/ubuntu/jammy - Jetson containers repo: https://github.com/dusty-nv/jetson-containers