mirror of https://github.com/docker/cli.git
48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
|
|
---
|
|
title: "image"
|
|
description: "The image command description and usage"
|
|
keywords: "image"
|
|
---
|
|
|
|
<!-- This file is maintained within the docker/cli Github
|
|
repository at https://github.com/docker/cli/. Make all
|
|
pull requests against that repo. If you see this file in
|
|
another repository, consider it read-only there, as it will
|
|
periodically be overwritten by the definitive file. Pull
|
|
requests which include edits to this file in other repositories
|
|
will be rejected.
|
|
-->
|
|
|
|
# image
|
|
|
|
```markdown
|
|
Usage: docker image COMMAND
|
|
|
|
Manage images
|
|
|
|
Options:
|
|
--help Print usage
|
|
|
|
Commands:
|
|
build Build an image from a Dockerfile
|
|
history Show the history of an image
|
|
import Import the contents from a tarball to create a filesystem image
|
|
inspect Display detailed information on one or more images
|
|
load Load an image from a tar archive or STDIN
|
|
ls List images
|
|
prune Remove unused images
|
|
pull Pull an image or a repository from a registry
|
|
push Push an image or a repository to a registry
|
|
rm Remove one or more images
|
|
save Save one or more images to a tar archive (streamed to STDOUT by default)
|
|
tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
|
|
|
|
Run 'docker image COMMAND --help' for more information on a command.
|
|
|
|
```
|
|
|
|
## Description
|
|
|
|
Manage images.
|