# dockerfile-jdk-tomcat **Repository Path**: fengtc/dockerfile-jdk-tomcat ## Basic Information - **Project Name**: dockerfile-jdk-tomcat - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-12-28 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## dockerfile-jdk-tomcat A Dockerfile that installs the latest jdk7, tomcat7. ### Prerequisite Get and [install Docker](http://www.docker.io/gettingstarted/)! You should be able to run the docker command line without sudo. Otherwise you will have to make some adjustments. ### Usage Bulid a new image: ``` $ git clone https://github.com/agileshell/dockerfile-jdk-tomcat.git $ cd dockerfile-jdk-tomcat $ sudo docker build -t dockerfile-jdk-tomcat . # OR $ sudo docker build -t dockerfile-jdk-tomcat https://github.com/agileshell/dockerfile-jdk-tomcat.git ``` We can now fire a new container based on this image: ``` $ sudo docker run -d -p 8090:8080 dockerfile-jdk-tomcat ``` After few seconds, open `http://:8090` to see the welcome page.