Here I am going to write about removing docker images, volumes and containers. To do so, first of all, you need to shutdown the docker container.
docker-compose down
After that, you can follow following method to remove required things,
# To remove all the containersdockerrm-f$(docker ps-a-q)# To remove all the docker imagesdocker rmi-f$(docker images-a-q)# To remove all the volumesdocker volumerm$(docker volumels-q)# To delete everythingdocker system prune-a--volumes
Top comments(1)
Subscribe

Thomas Hansen•
CEO at AINIRO.IO - Obsessed with ChatGPT, AI and Machine Learning. Delivering AI solutions and development platforms based upon No-Code and AI.
- LocationCyprus
- WorkCEO and Founder of AINIRO Ltd
- Joined
Cool trick :)
For further actions, you may consider blocking this person and/orreporting abuse