Runbook

"No space left on device" error when pulling docker images

Back to Runbooks

Overview

This incident type occurs when attempting to pull a docker image to run a container, but the process fails with an error message stating that there is no space left on the device. This error usually indicates that the disk where the image is being pulled has run out of space. To resolve this issue, the user needs to determine what is taking up the disk space and free up some space. One potential method to identify the files or directories consuming excessive space is to check the /var/log/syslog file.

Parameters

Debug

Check available space on the device

Identify top disk space consumers in the current directory

Identify top disk space consumers in the /var directory

Check the available inodes on the device

Identify the directories with the most inodes in the current directory

Check the syslog file for errors

Repair

Identify the files or directories consuming excessive space on the disk by using a disk space analyzer tool like 'ncdu' or running the 'df' command to see the disk usage.

Truncate the /var/log/syslog if the size is large and your containers emit logs

Remove any dangling docker images

Learn more

Related Runbooks

Check out these related runbooks to help you debug and resolve similar issues.