This is an image that I generated using installation guide in Crazyswarm official page.
To build the image, you need to type:
docker build --no-cache -t ros2-crazyswarm .
To run the container, you need to type:
docker run -it --rm --network=host --ipc=host -v /tmp/.X11-unix:/tmp/.X11-unix:rw --env=DISPLAY --name ros2-crazyswarm swarm -container ros2-crazyswarm
To start the docker compose, you need to type:
docker compose up -d
To get access in the container, you need to type:
docker exec -it ros2-crazyswarm -container /bin/bash
To stop the docker compose, you need to type:
docker compose down
Not tested exhaustively. Use it on your own risk. If you discover issues, please report them.
It was testes in an Ubuntu 24.04.1 LTS machine
Angelos Plastropoulos