FerryDocs

Log rotation

Docker keeps 3 log files of 10 MiB for each container. The log cannot fill the disk.

Edit on GitHub
Containerwrites linesLog file 1currentLog file 2Log file 3

The container writes its output. Docker puts it in a log file.

1 / 4

keeps the log of a container small. The runtime logs go back only as far as these files.

Change the rotation

Flag of ferrydDefaultMeaning
--log-max-size10 MiBThe size at which Docker starts a new file
--log-max-files3The number of files, with the current file

--log-max-size 0 tells Ferry not to change the log settings of Docker.

On this page