Don't Let Logs FILL Your Server (Rotate Them!)

Опубликовано: 20 Октябрь 2024
на канале: Shawn Powers
4,632
164

Using containers like docker is a great way to run apps, but it often means log files aren't automatically rotated. A runaway log file can fill your server's hard drive, and cause your services to outright fail!

Thankfully, most Linux distributions come with logrotate already installed. And setting up a custom job for your container is as simple as creating a single file. In this video, I walk you through the process.

#linux #docker #tips