I made a Dockerfile to start Glassfish 5 using Oracle Java

A Dockerfile that creates a Docker Image from the ** Glassfish5 ** distribution package.

Description

Glassfish5 is a reference implementation of Java EE 8, and the release (final release) of Java EE 8 is approaching in July 2017. There is also a lot of builds of Glassfish5 for release. A Dockerfile that takes this Glassfish5 distribution package and creates a Docker Image for an environment that runs using Oracle Java.

Operation image

Feature

--Dockerfile for each of the two build packages

Premise

--You must have a Docker Store account --The usage right of Oracle Java is linked to the Docker Store.

how to use

Get Docker Image (docker pull)

docker pull shinyay/docker-glassfish5

Get the Docker Image registered under Docker Hub https://hub.docker.com/r/shinyay/docker-glassfish5/

Start Docker Container (docker run)

Latest version

docker run -d -it --rm -p 4848:4848 shinyay/docker-glassfish5

If you don't tag it, latest will start. The substance of this tag is built to be the latest version of Nightly Build.

Promoted build

docker run shinyay / docker-glassfish5: <build version>

For example, docker run shinyay / docker-glassfish5: b10 will launch a stable build ** Promoted Build ** image that has cleared a set of test cases.

Nightly build

docker run shinyay / docker-glassfish5: <build version>-MM_DD_YYYY

For example, docker run shinyay / docker-glassfish5: b10-07_04_2017 will launch a ** Nightly Build ** image of a build that clears only simple test cases.

Check build version

The Docker Hub's ** Build Details ** tab lists the build results from the Dockefile. You can check it at the following URL:

Access to the management console (Glassfish Console)

I added the following parameters in the options of the Docker startup command above,

This is a setting that maps the external (host environment where the Glassfish container is running) port number to the port number ** 4848 ** that the Glassfish management console running inside the Docker Container is listening to. is.

By doing this, you can access the management console via the local environment's IP address, host name, or localhost port 4848.

--Management Console: http: // localhost: 4848

The administrator should use the pre-configured ʻadmin / glassfish` by default.

Recommended Posts

I made a Dockerfile to start Glassfish 5 using Oracle Java
I made a shopify app @java
[Beginner] I made a program to sell cakes in Java
I made a new Java deployment tool
I tried to make a talk application in Java using AI "A3RT"
I made a Diff tool for Java files
I made a primality test program in Java
Two ways to start a thread in Java + @
Write a dockerfile to start jupyter-lab on ubuntu
java I tried to break a simple block
I did Java to make (a == 1 && a == 2 && a == 3) always true
I wanted to make (a == 1 && a == 2 && a == 3) true in Java
I made a rock-paper-scissors game in Java (CLI)
[Rails] I made a draft function using enum
I tried to implement a server using Netty
I tried to break a block with java (1)
[Java] I tried to connect using a connection pool with Servlet (tomcat) & MySQL & Java
I made a sample of how to write delegate in SwiftUI 2.0 using MapKit
I made a simple calculation problem game in Java
I tried to operate SQS using AWS Java SDK
I made a method to ask for Premium Friday
I tried to create a Clova skill in Java
I tried to make a login function in Java
How to convert A to a and a to A using AND and OR in Java
I made a Wrapper that calls KNP from Java
Try to build a Java development environment using Docker
I tried scraping a stock chart using Java (Jsoup)
I want to implement it additionally while using kotlin on a site running Java
I tried to create a java8 development environment with Chocolatey
[Java] I want to convert a byte array to a hexadecimal number
I want to find a relative path in a situation using Path
I want to build Java Applet without using an IDE
I made a plugin to execute jextract with Gradle task
I want to make a list with kotlin and java!
I made a chat app.
I just wanted to make a Reactive Property in Java
I want to make a function with kotlin and java!
I tried using Hotwire to make Rails 6.1 scaffold a SPA
Even in Java, I want to output true with a == 1 && a == 2 && a == 3
I tried to convert a string to a LocalDate type in Java
I tried using Java REPL
I tried using Dapr in Java to facilitate microservice development
I tried to make a client of RESAS-API in Java
A memo to start Java programming with VS Code (2020-04 version)
Make a rhombus using Java
I made a simple MVC sample system using Spring Boot
[Circle CI] A story I was addicted to at Start Building
I made a command line interface with WinMerge Plugin using JD-Core
A story that I struggled to challenge a competition professional with Java
I tried Tribuo published by Oracle. Tribuo --A Java prediction library (v4.0)
[Unity] I tried to make a native plug-in UniNWPathMonitor using NWPathMonitor
I get a Ruby version error when I try to start Rails.
I made a gem to post the text of org-mode to qiita
I tried to build a simple application using Dockder + Rails Scaffold
[Java] I tried to make a maze by the digging method ♪
I tried to display the calendar on the Eclipse console using Java.
I made a tool to output the difference of CSV file
How to make a groundbreaking diamond using Java for statement wwww
Ruby: I made a FizzBuzz program!
I created a PDF in Java.
I made a GUI with Swing