FerryDocs

The free-disk check

Before a build, Ferry makes sure that the disk has 1 GiB free, or the deploy fails early.

Edit on GitHub
New deployFree disk?at least 1 GiBBuildbuild_failed

Before a build or a pull, Ferry measures the free disk space.

1 / 3

The limit is --min-free-disk (FERRY_MIN_FREE_DISK, default 1G). Below it, a deploy fails with build_failed, and a new gets the status failed.

Deploy log (excerpt)
10:42:07 ==> Build failed: not enough free disk space on /var/lib/ferry: 812 MiB free, Ferry needs at least 1 GiB (free some space, e.g. remove unused Docker images with `docker image prune`, or change the threshold with `ferryd --min-free-disk`, 0 = off)

When Ferry checks

ActionCheck
A deploy builds or pulls an image (git, upload and image deploys)Yes, before
Ferry creates a new datastore, or pulls the image of a datastoreYes, before
A restart or a rollbackNever
A new container for a datastore that exists, when its image is still thereNever

What runs continues to run. The can still repair it on a full disk.

Ferry measures the filesystem of the . If Docker is on this machine, Ferry also measures the .

On this page