Skip to content
On this page

镜像

镜像是容器技术的一等公民,类似于面向对象语言中的对象,而容器则是对象 new 出来的实例。

获取镜像

shell
docker search <image name>

查看镜像

shell
docker images

拉取镜像

shell
docker pull <image name>

删除镜像

shell
docker image rm <image name | image id>