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.