Public Repository

Last pushed: a year ago
Short Description
Jetty docker image
Full Description

JETTY

About this image

Yet another Jetty image ...
This image do not use SSL because I use HaProxy as SSL frontend.

How to use this image

Build

`docker build -t jetty ./jetty

Run

docker run --rm -it --entrypoint=bash jetty

Client

Run curl directly from running container

docker exec -it jetty-container curl -Isk localhost:8181

Run curl from a new dedicated container

docker run --rm -it --entrypoint=bash jetty -c "curl -Isk 192.168.99.100:8181/default"

Run local curl

curl -Isk 192.168.99.100:8181/default

Deploy app

docker run -d \
--name jetty-container \
-v /Users/gv/dev/workspace-jee/maven-projects/default/target/default.war:/opt/jetty/webapps/default.war:ro \
-p 8181:8181 \
jetty \
-Djetty.http.host=0.0.0.0 \
-Djetty.http.port=8181
Docker Pull Command
Owner
gvergne