GitXplorerGitXplorer
f

dic

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
3eb0f9f1c9cbe54bbeb41e299ffad35d4817a88a

Update bollard to support modern Docker

ffrankwiles committed 8 months ago
Unverified
8897f68fb7bd26f147e85e5625ef7077b55a91ff

Fix version in commandline tool

ffrankwiles committed 4 years ago
Unverified
73f7ed358dc25ede68f194abe47400e8325f6a04

Fix panic when same image is tagged multiple times

ffrankwiles committed 4 years ago
Unverified
f439bf55b1a35e21eafee4a8240b9f51253c3fc7

Cleanup clippy complaints

ffrankwiles committed 4 years ago
Unverified
c257594a2c04aa80090be770618e644b81e15524

Add README screenshot image

ffrankwiles committed 4 years ago
Unverified
91451c53fec07411484e01f72e24a19a8e277ee2

Adding license and README

ffrankwiles committed 4 years ago

README

The README file for this repository.

dic (Docker Image Cleaner)

Overview

Often I have found the need to destroy local Docker images based on partial string match. Weirdly enough the docker command line does not support this.

Usage

Let's assume you have a few dozen docker images pulled and/or built locally. And let's assume they're all tagged with registry.revsys.com/my-cool-app and some various tags.

To remove all images that match this you run:

$ dic my-cool-app

It will search all of your local images matching the QUERY string. It will prompt you with all the images that match and give you an opportunity to confirm deletion or bail out if you have too broad of a search.

Screenshot

Screenshot

License

This is code is BSD licensed. I've released this in the open, but I don't intend to put a ton of effort in maintaining it FYI.

Building

To build during development run cargo build to build a new optimized release run cargo build --release.