mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:26:00 +02:00
docker-image: add page (#5684)
This commit is contained in:
parent
fd625e15e1
commit
c571fa7ce2
1 changed files with 21 additions and 0 deletions
21
pages/common/docker-image.md
Normal file
21
pages/common/docker-image.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue