1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

How to fix "write /var/lib/docker/tmp/GetImageBlob00000000: no space left on device" error

Last updated at Posted at 2017-02-28

Reason

too many inode?

To check inode info

df -i

How to fix

1

Kill processes. (This didn't work for me)

docker kill $(docker ps -qa)

Delete them.

docker rm -v $(docker ps -qa)

Delete all images.

docker rmi -f $(docker images -q)

@jklemm Check out this repo, it worked for me too https://github.com/chadoe/docker-cleanup-volumes

This didn't work on macOS.

2

I haven't tried this.

# remove stopped containers
docker rm $(docker ps -a -q)

# remove dangling images
docker rmi $(docker images -q --filter "dangling=true")
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?