HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

docker image — Manage Docker images. See also: `docker build`, `docker image pull`, `docker image rm`. More informa

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandimagesdockerclidocker imagemanageseealso

Problem

How to use the docker image command: Manage Docker images. See also: docker build, docker image pull, docker image rm. More information: <https://docs.docker.com/reference/cli/docker/image/>.

Solution

docker image — Manage Docker images. See also: docker build, docker image pull, docker image rm. More information: <https://docs.docker.com/reference/cli/docker/image/>.

List local Docker images:
docker {{[images|image ls]}}


Delete unused local Docker images:
docker image prune


Delete all unused images (not just those without a tag):
docker image prune {{[-a|--all]}}


Show the history of a local Docker image:
docker {{[history|image history]}} {{image}}

Code Snippets

List local Docker images

docker {{[images|image ls]}}

Delete unused local Docker images

docker image prune

Delete all unused images (not just those without a tag)

docker image prune {{[-a|--all]}}

Show the history of a local Docker image

docker {{[history|image history]}} {{image}}

Context

tldr-pages: common/docker image

Revisions (0)

No revisions yet.