[Docker] Remove all containers and images
To clean up Docker images and containers, you can use the following commands in the terminal:
- Remove all containers:
docker rm $(docker ps -a -q)
- Remove all images:
docker rmi $(docker images -q)
Please note that the above commands will remove all containers and images, including those that are still in use. If you want to keep certain containers or images, you will need to modify the command or remove them manually.