我曾尝试遵循此处的建议,特别是:
- run
docker system prune
,释放了大约 6GB - 将
Disk image size
docker 桌面首选项增加到64 GB (43 GB used)
但是在运行 skaffold: 时我仍然看到这个exiting dev mode because first build failed: couldn't build "user/orders": docker build: Error response from daemon: Error processing tar file(exit status 1): write /tsconfig.json: no space left on device
。在另一个场合,另一轮 skaffold 给了我这个:
exiting dev mode because first build failed: couldn't build "exiting dev mode because first build failed: couldn't build "user/orders": unable to stream build output: failed to create rwlayer: mkdir /var/lib/docker/overlay2/7c6618702ad15fe0fa7d4655109aa6326fb4f954df00d2621f62d66d7b328ed9/diff: no space left on device
另外,在运行时docker system df
,我看到了这个:
TYPE TOTAL ACTIVE SIZE RECLAIMABLE
Images 10 0 28.86GB 28.86GB (100%)
Containers 0 0 0B 0B
Local Volumes 30 0 15.62GB 15.62GB (100%)
Build Cache 0 0 0B 0B
我还有大约 200GB 的物理硬盘空间可用。
我希望我不必rm *
按照这里的建议手动运行,这是针对 linux 发行版的。