Gazebo Ionic is supported for Linux only on Ubuntu Noble (24.04). For the testers that don't run this platform it is possible to use a virtual environment with GPU support to run this.
The repository contains a Dockerfile
ready to setup an Ubuntu Noble with
the necessary packages from the prerelease repository to run Gazebo Ionic.
Build it with:
docker build --target=ionic-prerelease -t ionic-prerelease - < Dockerfile
To run the ionic-prerelease image created the recommended tool is rocker
:
https://github.com/osrf/rocker .
The master
branch is needed to support Ubuntu Noble systems:
python3 -m venv rocker_ws/
. rocker_ws/bin/activate
pip3 install git+https://github.com/osrf/rocker@master
Be sure of using the same shell to launch rocker from it or run the activate command in the desired shell.
rocker --user --x11 --nvidia -- ionic-prerelease
# User should be now inside the Noble system with Ionic installed
# to launch the simulator: gz sim --verbose
rocker --user --x11 --devices /dev/dri --group-add video -- ionic-prerelease
# User should be now inside the Noble system with Ionic installed
# to launch the simulator: gz sim --verbose
During the testing period some hot fixes land everyday in the Gazebo repositories. Nightly packages are released every night into the nightly repository using the latest commits in the Gazebo Ionic repositories.
To use the nightly image just repeat the steps before changing ionic-prerelease by ionic-nightly in docker build and rocker.