TOOL » VIRTUAL_ENVIRONMENT » DOCKER

Image

Usage

shell
docker image COMMAND
CommandDescription
lsList images.
rmRemove one or more images.
pruneRemove unused images.
tagCreate a tag TARGET_IMAGE that refers to SOURCE_IMAGE.
inspectDisplay detailed information on one or more images.
pushPush an image or a repository to a registry.
pullPull an image or a repository from a registry.
loadLoad an image from a tar archive or STDIN.
saveSave one or more images to a tar archive (streamed to STDOUT by default).

Examples

Load and save an image:

shell
docker save imagename -o imagename.tar
docker load -i imagename.tar

See the creation date of an image:

shell
docker image inspect --format '{{.Created}}' myimage