LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-rmi

remove Docker images from local storage

TLDR

Remove an image
$ docker rmi [image]
copy
Remove multiple images
$ docker rmi [image1] [image2]
copy
Force remove
$ docker rmi -f [image]
copy
Remove all dangling images
$ docker rmi $(docker images -f dangling=true -q)
copy
Remove by image ID
$ docker rmi [image_id]
copy

SYNOPSIS

docker rmi [options] image [image...]

DESCRIPTION

docker rmi removes one or more images. Images in use by containers cannot be removed unless forced. Shorthand for docker image rm. Removing an image deletes all its layers unless they're shared with other images. Dangling images are untagged images that are no longer referenced by any tagged image.

PARAMETERS

-f, --force

Force removal.
--no-prune
Do not delete untagged parent images.

INSTALL

sudo apt install docker-cli
copy
sudo dnf install docker-cli
copy
sudo pacman -S docker
copy
sudo apk add docker-cli
copy
sudo zypper install docker
copy
brew install docker
copy
nix profile install nixpkgs#docker
copy

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid