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
Негізгі бет Ғылым және технология Don't Let Logs FILL Your Server (Rotate Them!)
Пікірлер: 22