By using the Dockerfile I have built the commands sudo docker build -t=“prabakar/java7” . and then
I used the run command sudo docker run -p 7604:7604 -d prabakar/java7
while using the sudo docker ps its running but even though i am unable to view my localhost:7604
Can you help me out in giving suggestions and if wrong correct me ?
I would start by verifying with netstat -tlpn and ps auxf | grep docker-proxy. Run without daemonizing to see output then run with –net host. If it still fails to open then there is most likely something wrong with your application.