FerryDocs

The free-disk check

Before a deploy builds or pulls, Ferry makes sure that the disk has 1 GiB of free space.

Edit on GitHub
DeployFree-disk check1 GiB or more?Build or pull

A deploy starts. Ferry measures the free space of the disk.

1 / 3

Builds, image pulls and new volumes of datastores fill the disk. The stops a that has too little space. The deploy gets the status build_failed.

Deploy log
==> Build failed: not enough free disk space on /srv/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)

Make space

Terminal
docker image prune

To change the 1 GiB, start ferryd with --min-free-disk. The value 0 stops the check.

What Ferry tests

Ferry testsFerry does not test
A deploy from Git, from an upload or from an image, before it builds or pullsA restart and a rollback: they use an image that exists
A new datastore, before Ferry creates it or pulls its imageA new container for a datastore that exists, if Ferry does not pull its image again

On this page