ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can i use any ubuntu version as docker container?

asked 2023-07-24 03:23:29 -0500

Huseyn gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-24 14:33:24 -0500

gentijo gravatar image

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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-07-24 03:23:29 -0500

Seen: 184 times

Last updated: Jul 24 '23