Knowledgebase

Managing Container Host Disk Space Print

  • 0

The commonest operational failure.

WHAT CONSUMES SPACE

Images, including unused ones Stopped containers Volumes no longer referenced Build cache Logs

WHY IT CREEPS UP

Each deployment pulls a new image and leaves the old.

WHAT THAT PRODUCES

A host that fills quietly over weeks.

WHAT A FULL DISK CAUSES

Containers failing to start The engine misbehaving The whole host becoming unusable

WHAT TO CHECK

Space, and what is using it.

HOW

The engine's own disk usage report.

WHAT TO CLEAN

Unused images Stopped containers Dangling build cache

WHAT TO BE EXTREMELY CAREFUL WITH

Volume pruning.

WHY

It deletes data, and unreferenced does not mean unwanted.

WHAT TO AUTOMATE

Removal of unused images older than a period.

WHAT TO CONFIGURE

Log rotation per container.

WHY

Unlimited logging is frequently the default.

WHAT TO MONITOR

Disk space, with warning well before full.

WHAT TO SEPARATE IF POSSIBLE

Container storage from the system partition.

WHY

A full system partition stops everything.

WHAT TO REVIEW

Image retention in the registry, which grows the same way.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot