Assume I have the the following VM:
-Centos
-JRE 1.8
-Tomcat
-Jar dependencies
-My WAR file + all the server configuration files
Now can I turn this whole thing into one Docker image, excluding the Centos? So next time I deploy it as a container it's all ready and started without doing any additional work. I simply load the web app on a browser.