mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 07:50:08 +00:00
Update cheatsheets
This commit is contained in:
26
docker-image
Normal file
26
docker-image
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user