You can find the official Yarp docker image here:
You can build it using the command:
cd yarp/docker docker build -t yarp:ubuntu22.04 .
You can run the docker image using the command:
sudo docker run --rm -it --privileged --network host --pid host -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v /etc/hosts:/etc/hosts -e QT_X11_NO_MITSHM=1 yarp:ubuntu22.04
To use the graphics inside the docker images, remember to disable X permission with the following command:
sudo xhost +