If my Docker is eating up disk space due to the overlay partition, I will just run docker system prune - f volumes. So this will clean up all the nagging images and all the containers and all the networks around the volumes as well. If it still doesn't free up the space, I will stop the docker and I will delete the overlay do folder using sudo.
But I'm not going to do this in the production environment. I'm going to do it in the lower environment itself public because this will lose all the energies and everything. So to avoid this in future I will create some portal shadow task to clean up regularly or move the docker service to the bigger disk using data route in the docker config.