400 ratings, 3.76 average rating, 40 reviews
See a Problem?
We’d love your help. Let us know what’s wrong with this preview of Docker by Sean P. Kane.
Not the book you’re looking for?
Preview — Docker by Sean P. Kane
Docker Quotes Showing 1-2 of 2
“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.”
“If deploying software is hard, time-consuming, and requires resources from another team, then developers will often build everything into the existing application in order to avoid suffering the new deployment penalty.”