I am new to docker. I have installed docker using Boot2docker on my windows. But I do not have clear idea how to deploy simple java web app in docker.
I have gone through the net and came to know that from docker file create build an image and run it.
I created one dockerfile
and placed in D:\dock
folder.
I ran docker build
command like this i.e
$ docker build -t tomcat7-test Dockerfile's path.
But it did not recognize my file.
Where should be my Dockerfile
should exist if I create through notepad++
and how docker recognize my docker file with docker build command?