An Oracle blog about Java Technology

GlassFish Images on Docker Hub

Bruno Borges
Principal Product Manager, Developer Engagement

Great news to our fellows bleeding edge Java EE developers and GlassFish users. We are now pushing two images of the application server to Docker Hub to make it even easier to try new and upcoming releases. The GlassFish organization is under registry.hub.docker.com/u/glassfish/, and here are the two images we have:

GlassFish Nightly Builds

This image is based on the latest builds of GlassFish, and updated when a new build is produced. To try this one, run:

# docker run -ti -p 4848:4848 -p 8080:8080 glassfish/nightly

This will give you the asadmin console. Start the domain with start-domain:

asadmin> start-domain

And access the console at http://localhost:4848. The default admin username and password are: user=admin / password=glassfish.

GlassFish Ozark - MVC RI

This image comes with GlassFish 4.1 modified with the required changes to run the new specification MVC 1.0, part of the upcoming Java EE 8 platform. To run this image, do:

# docker run -ti -p 8080:8080 glassfish/ozark

This will start GlassFish and deploy the Ozark Samples application. To access it, go to http://localhost:8080.

Have fun with GlassFish on Docker containers! 

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.