Containerising with Docker
Learn Containerising with Docker (DevOps & Deployment, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.
Business Requirement An application that runs correctly on the developer's machine must run identically on a tester's machine, on UAT, on production, and on the client's laptop - without anyone installing Java, MySQL, Tomcat or Kafka by hand. Problem Statement Consider an application whose environment is Java 1.8, MySQL 5.6, Tomcat 9.0 and Kafka 3.1. A new developer joins with Java 11, MySQL 6.1, Tomcat 8.5 and no Kafka at all. The same source code will not start on that machine. The setup, not the code, is the obstacle. The classroom material lists four scenarios that all reduce to the same...