How to Install and Uninstall docker-clean Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 29,2024

1. Install "docker-clean" package

Please follow the instructions below to install docker-clean on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install docker-clean

2. Uninstall "docker-clean" package

This tutorial shows how to uninstall docker-clean on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove docker-clean $ sudo apt autoclean && sudo apt autoremove

3. Information about the docker-clean package on Ubuntu 20.10 (Groovy Gorilla)

Package: docker-clean
Architecture: all
Version: 2.0.4-3
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Hideki Yamane
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 45
Depends: docker.io | docker-ce
Enhances: docker-ce, docker.io
Filename: pool/universe/d/docker-clean/docker-clean_2.0.4-3_all.deb
Size: 11192
MD5sum: b9fb1625d976f08bbff7786a1ea0ca4b
SHA1: 4c2257ebfd2778aa782364ae0045deac7a321058
SHA256: fbf4324e87d59b8e7f133e2f79ecf69cb4a1c9b8b50aee8a45b5f3e8c4f9a7c1
SHA512: 4d60bb9f2938607e68c4301cf76610f2ff0240047e6166b4ed92556d2b16bb5684b0cd3b4f3fb0b422a300ac95982a9d3a96a9add26dd008c35987f06d461023
Homepage: https://github.com/ZZROTDesign/docker-clean/
Description-en: simple Shell script to clean up the Docker Daemon
docker-clean is simple Shell script utility to clean up the Docker Daemon,
required Docker Daemon version (>= 1.9).
.
Usages:
- docker-clean stop: Stops and removes all containers, cleans dangling
volumes,and networks
- docker-clean images: Removes all tagged and untagged images, stopped
containers, dangling volumes, and networks
- docker-clean run : Removes all stopped containers, untagged images,
dangling volumes, and networks
- docker-clean all: Stops and removes all containers, images, volumes
and networks
Description-md5: cb8c417ec027f84898fa62ee5db9c310