Docker的基础命令:
查看下载的镜像
docker images
REPOSITORY(镜像的名称)
TAG(镜像的版本:值 latest最新版)
IMAGE ID(Docker给的镜像ID)
SIZE(内存大小)
搜索镜像
docker search 镜像关键词
例:docker search centos:7
docker search portainer/portainer(基于docker的图形化页面)
docker search tomcat
镜像拉取
docker pull 镜像name : 版本
例:docker pull centos:7
docker pull portainer/portainer(基于docker的图形化页面)
docker pull tomcat