- Which services and applications on a server are worth to be dockerized?
- There is a server (Ubuntu) which runs applications on Tomcat and Apache. The server has also some services like Postfix and Squid proxy.
I understand that there is a benefit of Tomcat and Apache dockerization.
For Tomcat it means an easy upgrade. I can swap Tomcat versions and Java versions w/o polluting the server. Same for Apache - easy upgrade.
But what about Postfix and Squid proxy. To me they are system services and are part of OS. Is there any benefit of dockerizing them?
Experience, thoughts and best practices hints are welcome! Thank you!
Dockerization best practices! Which services and applications on a server are worth to be dockerized?
i am very new to docker. I think the performance overhead for docker is not critical for an email server, for example. Since Postfix is already bundled with your OS distro there is no need to dockerize it, IMO, because the distributors are already taking care of stable integration with the system. Also, it may benefit from shared resources. You have always the option to remove it from your OS and run it inside a docker, your choice!
I like your question, but i really don’t know any best practices.