avatar

tetsai

原创声明

本文由tetsai原创,转载请注明来源

出现问题:

[tetsai-pc docker]# docker pull suchja/wine
Using default tag: latest
latest: Pulling from suchja/wine
bf295113f40d: Pulling fs layer
9b70096ebbc9: Pulling fs layer
6e99082040bb: Pulling fs layer
0606906bde56: Waiting
6433ab9b2528: Waiting
c696f54d2ffe: Waiting
dcb52e1cb571: Waiting
bd4407ed62b1: Waiting
a41d059f97b2: Waiting
744cd789ac05: Waiting
open /var/lib/docker/tmp/GetImageBlob311004190: no such file or directory

错误原因:我把docker目录删除掉了,导致找不到tmp目录

解决方法:重建docker目录

[tetsai-pc lib]# systemctl daemon-reload
[tetsai-pc lib]# systemctl stop docker
[tetsai-pc lib]# systemctl start docker

执行完后docker目录就重建了,可以正常操作

[tetsai-pc lib]# cd docker
[tetsai-pc docker]# ls
builder buildkit containerd containers image network overlay2 plugins runtimes swarm tmp trust volumes

发表评论

电子邮件地址不会被公开。 必填项已用*标注