- pull from registry(online)从registry拉取
- public
- private
- build from Dockerfile (online)从Dockerfile构建
- load from file(online)文件导入(离线)
镜像的registry介绍
```sql获取最新镜像
docker pull nginx
获取指定版本的镜像
docker image pull nginx:1.20.0
查看镜像的详情
docker image inspect fa5269854a5e
<a name="aUwkV"></a>
## docker镜像的导入导出
导出
docker image save 镜像名 -o nginx.image
导入
docker image load -i 镜像目录 ```
