Quick Recap
No software is perfect, but it’s unfortunate when your experience with using a tool is diminished due to bugs. I have to confess: it pained me to write this chapter. I wanted your experience of using Docker to be uniformly positive.
In the end, though, I felt these issues were important enough to bring to your attention. Hopefully, you should now be aware of the main problems and prepared to face them.
Let’s review what we covered in this chapter:
-
We explored an issue where Rails’ tmp/pids/server.pid file doesn’t always get removed upon terminating the containers.
-
We learned about entrypoints, which are prepended to the command run on starting a new container.
-
We utilized an entrypoint to create a wrapper script that deletes the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access