解决macOS上的docker空间不足无法解压镜像

症状

(base) workspace@keting ~ % docker pull gitlab/gitlab-ce:latest
latest: Pulling from gitlab/gitlab-ce
eaead16dc43b: Pull complete 
51e1710361b6: Pull complete 
fa2471e5dcae: Pull complete 
884cb3b619c5: Pull complete 
a1c9c822e970: Pull complete 
13e31cb76d16: Pull complete 
17ac2139c272: Pull complete 
34b410d18f0e: Extracting [==================================================>]  1.162GB/1.162GB
failed to register layer: Error processing tar file(exit status 1): write /opt/gitlab/embedded/postgresql/13/lib/libecpg.so.6.13: no space left on device

扩大空间

[https://zhuanlan.zhihu.com/p/478945717]
du -hs /var/lib/docker/
提示:du: /var/lib/docker: No such file or directory
在macOS不是这么操作的,而是:

实际占用的空间:

效果

posted @   qsBye  阅读(290)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」
点击右上角即可分享
微信分享提示