3. Docker Image

eProsima provides a Shapes Demo Docker image for those who want a quick demonstration of Fast DDS capabilities and interoperability. This image, based on Ubuntu 22.04, can be downloaded from eProsima’s downloads page.

To run this container you need Docker installed. From a terminal, run:

sudo apt install docker.io
  1. Since Shapes Demo is a graphical application, allowing root to use the graphical interface is required:

xhost local:root
  1. Then, load the Docker image by running:

docker load -i ubuntu-fastdds-shapes-demo\ <version>.tar
  1. Finally, run the Shapes Demo Docker image:

docker run \
    -it \
    --privileged \
    -e DISPLAY=$DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    ubuntu-fastdds-shapes-demo:<version>