Docker删除镜像


 description

docker通过简单的命令快速删除已经下载的镜像,可以通过docker images查看已经下载过的镜像,可以通过镜像名称或者镜像ID删除对应的容器。

 command

docker rmi hello-world

 parameter

docker :   一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的镜像中
rmi :  移除一张或多张图片

 result

Untagged: hello-world:latest
Untagged: hello-world@sha256:2498fce14358aa50ead0cc6c19990fc6ff866ce72aeb5546e1d59caac3d0d60f
Deleted: sha256:feb5d9fea6a5e9606aa995e879d862b825965ba48de054caab5ef356dc6b3412
Deleted: sha256:e07ee1baac5fae6a26f30cabfe54a36d3402f96afda318fe0a96cec4ca393359
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.