Running docker compose down stops and removes the containers and default network for a project, and it also deletes the…