Eclipse GlassFish Docker images provided by OmniFish.
3.1K
Source code repository: https://github.com/OmniFish-EE/docker-library-glassfish
Run GlassFish with the following command:
docker run -p 8080:8080 -p 4848:4848 omnifish/glassfish:latest
Open the following URLs in the browser:
admin/admin (User name/Password)Stop GlassFish with the following command:
docker stop CONTAINER_ID
CONTAINER_ID can be found from the output of the following command:
docker ps
You can run an application located in your filesystem with GlassFIsh in a Docker container.
Follow these steps:
/deployment/deployment/application.war/deployments is path to the directory created in step 1:docker run -p 8080:8080 -p 4848:4848 -v /deployments:/opt/glassfish7/glassfish/domains/domain1/autodeploy omnifish/glassfish:latest
Then you can open the application in the browser with:
The context root (application) is derived from the name of the application file (e.g. application.war would deployed under the application context root). If your application file has a different name, please adjust the contest root in the URL accordingly.
Content type
Image
Digest
sha256:4f3959699…
Size
412.8 MB
Last updated
over 2 years ago
docker pull omnifish/glassfish