Robotics StackExchange | Archived questions

Can i use any ubuntu version as docker container?

I am unable to use ROS2 for my project, nano jetson comes with 18.04 version of ubuntu, is there any way of using ROS2 and Ubuntu 22.04? I am not familiar with docker.

Asked by Huseyn on 2023-07-24 03:23:29 UTC

Comments

Answers

I think 20.04 (Focal) and 22.04 (Jammy) are the only supported versions.

You can use the Docker file here https://github.com/gentijo/ROSBerryPy to get you started. 00_build_container.sh are the instructions to stand up the container.

The docker file also includes some MicroROS and ESP32 dev tools that you can just remove.

Currently it loads ROS Rolling on a 22.04 base but has lines commented out to change both the Base image and the ROS Release version.

Note: I have noticed that the Focal release only has Galactic and Rolling in its package repo, Jammy has galactic, humble, Iron and rolling

Note: in the build container script, I map a volume /dev:/dev, this is only needed if you want to map the serial port from host to container for MicroROS development and device connections.

Asked by gentijo on 2023-07-24 14:33:24 UTC

Comments