OWASP / crAPI

completely ridiculous API (crAPI)
Apache License 2.0
1.03k stars 325 forks source link

Can't uninstall crAPI completely #230

Closed zerodayhacker closed 5 months ago

zerodayhacker commented 5 months ago

HI. I'd like to do a fresh install of crAPI (I installed it using the Docker method). I removed all containers and images related to crAPI, then reinstalled it from scratch. But when I rebuild the containers and launch the app, I still get the users and mailhog history I had on my previous install. How can I remove everything from my system and start with a completely fresh install? Any specific config files I need to delete?Thanks!

piyushroshan commented 5 months ago

You need to delete the docker volumes. docker volume ls Then docker volume rm <volumeid>

zerodayhacker commented 5 months ago

Works great. Thanks!

piyushroshan commented 5 months ago

Another workaround is to use the --volume option with docker-compose down docker compose -f docker-compose-new.yml --compatibility down --volume

zerodayhacker commented 5 months ago

Works great. Thank you! 😊