Skip to content

Commit

Permalink
docker-image: add page (tldr-pages#5684)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrl authored Apr 12, 2021
1 parent fd625e1 commit c571fa7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pages/common/docker-image.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# docker image

> Manage Docker images.
> See also `docker build`, `docker import`, and `docker pull`.
> More information: <https://docs.docker.com/engine/reference/commandline/image/>.
- List local Docker images:

`docker image ls`

- Delete unused local Docker images:

`docker image prune`

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

`docker image prune --all`

- Show the history of a local Docker image:

`docker image history {{image}}`

0 comments on commit c571fa7

Please sign in to comment.