【随手记录】docker拉镜像的几个阶段说明

 

一般我们使用docker拉取镜像时候会经历几个阶段,等待、拉取开始、下载成功、检验、拉取成功:

Waiting
Pulling fs layer
Download complete
Verifying Checksum
Pull complete

其中Pull complete 和 Download complete区别:

Pull complete
Download complete

When pulling a remote docker image, you can see that the layers are downloaded. After a layer is downloaded, docker shows a status of extracting the image which is mainly uncompressing the layer and verifying its checksum. Once this is done the layer is maked with Pull complete. 
So in short, Download complete means the layer is downloaded whereas Pull complete implies that the layer was downloaded and extracted onto the host machine.
Download只是说这个镜像下载下来了,Pull complete则是经过解压缩、校验之后导入到系统里去了!
posted @ 2020-11-15 20:44  空知大仙人  阅读(3688)  评论(0编辑  收藏  举报