https://github.com/paulwellnerbou/docker-tomcat
Dockerfile for tomcat container with volume for webapps directory
https://github.com/paulwellnerbou/docker-tomcat
Last synced: about 2 months ago
JSON representation
Dockerfile for tomcat container with volume for webapps directory
- Host: GitHub
- URL: https://github.com/paulwellnerbou/docker-tomcat
- Owner: paulwellnerbou
- Created: 2015-12-01T09:56:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-13T07:25:16.000Z (over 8 years ago)
- Last Synced: 2025-04-14T22:52:59.714Z (about 2 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-tomcat
Dockerfile for tomcat container with volume for webapps directory## Build
```
docker build -t wellnerbou/tomcat7 git://github.com/paulwellnerbou/docker-tomcat.git
```### Run
#### Tomcat with manager
```
docker run --rm -p 8080:8080 wellnerbou/tomcat7
```The manager interface will be available under http://admin:admin@yourdockerhost:8080/manager/html.
### Tomcat with custom webapps directory
```
docker run --rm -p 8080:8080 -v /path/to/your/directory:/usr/local/tomcat/webapps wellnerbou/tomcat7
```