GlassFish Images on Docker Hub - No Fluff Just Stuff

GlassFish Images on Docker Hub

Posted by: Reza Rahman on May 18, 2015

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! 

Reza Rahman

About Reza Rahman

Reza is a recovering independent consultant and now Java EE evangelist at Oracle. He is the author of the popular book EJB 3 in Action. Reza is a frequent speaker at developer gatherings worldwide including JavaOne and NFJS. He is an avid contributor to community sites like JavaLobby and TSS. Reza has been a member of the Java EE, EJB and JMS expert groups. He implemented the EJB container for the Resin open source Java EE application server.

All views voiced are squarely mine alone, not Oracle's.

Why Attend the NFJS Tour?

  • » Cutting-Edge Technologies
  • » Agile Practices
  • » Peer Exchange

Current Topics:

  • Languages on the JVM: Scala, Groovy, Clojure
  • Enterprise Java
  • Core Java, Java 8
  • Agility
  • Testing: Geb, Spock, Easyb
  • REST
  • NoSQL: MongoDB, Cassandra
  • Hadoop
  • Spring 4
  • Cloud
  • Automation Tools: Gradle, Git, Jenkins, Sonar
  • HTML5, CSS3, AngularJS, jQuery, Usability
  • Mobile Apps - iPhone and Android
  • More...
Learn More »