“While Docker automatically captures logs for you, it does not also rotate them. In fact, currently none of the provided packages set up any log rotation. You’ll need to do that yourself in most cases. Rather frustratingly, Docker also does not respond to a signal to tell it to reopen logs. If you send it the standard HUP signal, it will instead restart all the containers, which is not what you want. The current best practice for rotation of Docker logs is to have logrotate use the copytruncate method to copy the logfile and then truncate it in place. There are open bugs against docker asking for a better solution.”
―
Docker: Up & Running: Shipping Reliable Containers in Production
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
Docker: Up & Running: Shipping Reliable Containers in Production
by
Karl Matthias459 ratings, average rating, 42 reviews
Browse By Tag
- love (101560)
- life (79519)
- inspirational (75958)
- humor (44409)
- philosophy (31064)
- inspirational-quotes (28949)
- god (26942)
- truth (24775)
- wisdom (24684)
- romance (24394)
- poetry (23347)
- life-lessons (22646)
- quotes (21142)
- death (20582)
- travel (19573)
- happiness (19033)
- hope (18561)
- faith (18427)
- inspiration (17329)
- spirituality (15756)
- relationships (15673)
- life-quotes (15577)
- religion (15407)
- love-quotes (15360)
- motivational (15339)
- writing (14952)
- success (14196)
- motivation (13194)
- time (12883)
- motivational-quotes (12563)
