LinuxCommandLibrary

docker-image

Manage Docker images.

TLDR

List local Docker images

$ docker image ls
copy


Delete unused local Docker images
$ docker image prune
copy


Delete all unused images (not just those without a tag)
$ docker image prune --all
copy


Show the history of a local Docker image
$ docker image history [image]
copy

SYNOPSIS

docker image

DESCRIPTION

Manage images

OPTIONS

-h, --help[=false] help for image

SEE ALSO

docker(1), docker-image-build(1), docker-image-history(1), docker-image-import(1), docker-image-inspect(1), docker-image-load(1), docker-image-ls(1), docker-image-prune(1), docker-image-pull(1), docker-image-push(1), docker-image-rm(1), docker-image-save(1), docker-image-tag(1)

Copied to clipboard