Docker image to run the Primefaces showcase on a Glassfish 4.1 application server.
To create the image glassfish-showcase, execute the following command on the docker-glassfish folder:
docker build -t koert/glassfish-showcase .
To run the image and bind to port :
docker run -d -p 8080:8080 koert/glassfish-showcase
You can access the showcase application with: http://localhost:8080/showcase
More options:
docker run -d -p 4848:4848 -p 8080:8080 -p 9009:9009
-v ~/tmp/glassfish/logs:/opt/glassfish4/glassfish/domains/domain1/logs
-e DEBUG="true" -e GLASSFISH_PASS="mypass" koert/glassfish-showcase
Ports:
Mount points:
Environment:
To run manually (debugging startup):
docker run --rm -it -p 8080:8080 -p 4848:4848 koert/glassfish-showcase /bin/bash
bash -x /opt/app/bin/start-glassfish.sh
To create the image alpine-glassfish-showcase, execute the following command on the docker-glassfish folder:
docker build -t koert/alpine-glassfish-showcase -f Dockerfile-alpine .
Content type
Image
Digest
sha256:b68ffe634…
Size
444.4 MB
Last updated
over 10 years ago
docker pull koert/docker-glassfish-showcase