Docker Community Forums

Share and learn in the Docker community.

Newbie to Docker, On dark with where to start

My current application is a Java Maven project and output .war file gets deployed on Linux server which runs tomcat. Backend of my application is oracle 11g.

I now want to migrate this project and dockerize mimicing my QA linux environment. Steps that i would like to achieve here are.
1.Setup a linux OS and Get my source code from SVN/Perforce
2.Build the project using maven
3.Deploy the output war on tomcat and test application.
4. setup oracle 11g for backend connectivity

Right my local setup is on Windows. I have installed Docker host for Windows and created a Dockerfile to run a sample Java program.

What all i should have in Dockerfile, and what all in Yaml file? and how to build the image for the above set of requirement.

Thanks in advance.