Understanding the client-server architecture of Docker
Let's recollect our main objective: we want to deploy a sample Spring application named Pet-clinic
on our Tomcat server. How it is different when we install tomcat in the virtual machine and use containers? In Container environment, host OS is installed and then it is used to host container layer. Container layer is used for provisioning container instances. Container instances are extremely lightweight and efficient as extra libraries or resources are needed for the operating system that is needed in the virtual machine while not in case of containers.
For that, in the rest of the section, we will try to use the existing Tomcat image and also create a sample image with a Tomcat installation: ...
Get DevOps for Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.