Perform a clean installation with docker and vscode

Hi, I am trying to install frappe (erpnext) with docker in vscode for this I followed the steps indicated in https://github.com/frappe/frappe_docker/blob/main/docs/development.md
I follow the Bootstrap Containers for development section
and then the section Setup bench / new site using script executing python installer.py
The problem is that it says that the database already exists. I have done several tests.
My question is:

  • How can i make a clean installation?
  • What files should I delete?
    I am using WSL on windows and with docker delete the containers, images and volumes
    -docker stop $(docker ps -a -q)
    -docker rm $(docker ps -a -q)
    -docker rmi $(docker images -a -q)
    However it still indicates that the database exists
    Can somebody help me?

Thank you. Rgrds

Finally the solution was run the following commands

  • docker stop $(docker ps -a -q)
  • docker rm $(docker ps -a -q)
  • docker rmi $(docker images -a -q)
  • docker volume rm $(docker volume ls -q)

  • docker container prune
  • docker image prune -a
  • docker volume prune
  • docker network prune
  • docker system prune -a