https://github.com/ericogr/docker-tomcat
Dockerfile to build an image with Tomcat
https://github.com/ericogr/docker-tomcat
Last synced: about 2 months ago
JSON representation
Dockerfile to build an image with Tomcat
- Host: GitHub
- URL: https://github.com/ericogr/docker-tomcat
- Owner: ericogr
- License: apache-2.0
- Created: 2015-03-30T15:09:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-23T17:12:09.000Z (over 10 years ago)
- Last Synced: 2025-01-20T12:07:35.421Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-maven
A Dockerfile that produces a container that will run Tomcat
#Username and password
docker/docker
#Image Creation
This example creates the image with the tag ericogr/tomcat, but you can change this to use your own username.
```sh
$ docker build -t="ericogr/tomcat" .
```
#Container Creation / Running
```sh
$ docker run -d -p 8080:8080 ericogr/tomcat
```