8080
for http8443
for https8000
for debug
/webapp
/logs
admin
:b1uKcRK3r6SZ
docker run -it --rm -p 80:8080 -p 443:8443 -v /Users/jas/myapp:/webapp jaschen/tomcat6-jre7-ssl-admin
You can browse the app at http://localhost/
or https://localhost/ for https.
(if you are using boot2docker, the ip will be 192.168.59.103
)
You can use
admin
:b1uKcRK3r6SZ
to manage Tomcat at
docker run -it --rm -p 80:8080 -p 443:8443 -v /Users/jas/myapp:/webapp -v /Users/jas/logs:/logs jaschen/tomcat6-jre7-ssl-admin
Goto /Users/jas/logs
and you will find logs.
docker run -it --rm -e JAVA_OPTS='-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n' -p 80:8080 -p 443:8443 -p 8000:8000 -v /Users/jas/myapp:/webapp jaschen/tomcat6-jre7-ssl-admin