Images

Useful command to stop all images

docker stop $(docker ps -a -q)

Useful command to remove all images

docker rmi $(docker images -q)
CommandDescription
docker imageManage images.
docker image buildBuild an image from a Dockerfile.
docker image historyShow the history of an image.
docker image importImport the contents from a tarball to create a filesystem image.
docker image inspectDisplay detailed information on one or more images.
docker image loadLoad an image from a tar archive or STDIN.
docker image pruneRemove unused images.
docker rmiRemove one or more images.
docker image saveSave one or more images to a tar archive (streamed to STDOUT by default).
docker image tagCreate a tag TARGET_IMAGE that refers to SOURCE_IMAGE.
docker image lsList images.
docker pullDownload an image from a registry.
docker pushUpload an image to a registry.