How to clean up overaly2 directory

Hi all,
I’m running docker and jenkins as a system to run my app test builds.
Each time a new build is launched jenkins runs approx 20 docker containers and goes through test scenario.
When test is passed all containers should be cleaned up.
Running docker system prune -a -f
and
docker builder prune
doesn’t help either.
I have thousands of dirs under /var/lib/docker/overaly2 dir.
It leaves lots of cache in /var/lib/docker/overlay2/<directory>/diff/ directories.

I’m looking for a proper way to clean old unused files.
I’ve tried to create an overlay2 dir but than I have an error:
docker compose build --no-cache
ERROR: stat /var/lib/docker/overlay2/wgrr2brmg6cywd5wqin5ivsi5: no such file or directory

docker-ce-rootless-extras-24.0.2-1.el8.x86_64
docker-buildx-plugin-0.10.5-1.el8.x86_64
docker-ce-cli-24.0.2-1.el8.x86_64
docker-compose-plugin-2.18.1-1.el8.x86_64
docker-ce-24.0.2-1.el8.x86_64```