This script is a utility for managing Docker images and containers. It provides functionality to list, delete specific, or delete all Docker images and containers.
- List all Docker images.
- Delete a specific Docker image.
- Delete all Docker images.
- List all Docker containers (including stopped ones).
- Delete a specific Docker container.
- Delete all stopped Docker containers.
Before you begin, ensure you have met the following requirements:
- You have installed Python 3.x.
- You have a
Linux/Mac/Windows
machine. - You have installed Docker on your machine.
- You have basic knowledge of Docker commands.
To install Docker Cleaner Script, follow these steps:
Linux and macOS:
git clone https://github.com/Matanmoshes/docker-cleaner-script.git cd docker-cleaner-script pip install -r requirements.txt