Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

no space left on device on docker desktop for macos and skaffold

I had tried following the advice here, specifically:

  1. run docker system prune, which freed about 6GB
  2. increased the Disk image size on docker desktop preferences to 64 GB (43 GB used)

but am still seeing this when running 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. Another run of skaffold gave me this on another occasion:

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

Also, when running docker system df, I see this:

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

I also have about 200GB of physical hard drive space available.

I'm hoping I don't have to manually run rm * as proposed here, which was for a linux distro.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

if you're running on Mac and have 200GB free, will increasing help you?

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...