Small python script to remove the docker containers and images you select
Sometimes, when you are doing a lot of testing with build docker, or you haven't cleaned for a long time, you may accumulate a lot of images, builds and containers. You can use your own script without problems to clean it, but from my point of view this small python script reduces the time a lot.
Options:
Delete and list images Delete and list containers Delete and list builds Prune images, containers and builds Listing and removing docker networks
- When deleting images / containers / builds you have to select the one that will be deleted.
- The Prune option is complete of all builds/images/containers
Pequeño script python para eliminar los contenedores docker e imágenes que selecciones
A veces, cuando estás haciendo muchas pruebas con build docker , o llevas mucho tiempo sin limpiar, es posibe que acumules muchas imágenes, builds y containers. Puedes usar un script propio sinp roblemas para limpiarlo, pero bajo mi punto de vista este pequeño script en python reduce mucho los tiempos.
Opciones, :
Eliminar y listar imágenes Eliminar y listar contenedores Eliminar y listar builds Prune imágenes, contenedores y builds Listado y eliminación de redes de dockers
- Los deletes de imágenes / contenedores / builds tienes que seleccionar el que será eliminado.
- La opción e Prune es completa de todos los builds/images/containers