by flyinprogramer · 10y ago · 0 comments
That sounds to me like something everyone would care about. I have started setting Docker's log-opt to max-size=128m and max-file=3 expressly to side-step that kind of nonsense. It's a great happy medium between "logs go out over the network", which impedes one's ability to use "docker log" for quick-and-dirty viewing, but not blowing out the disks. We've enjoyed great success with logspout, since it captures every container, relieving us of the need to configure them individually.