Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker image for running Glassfish
Full Description


Docker base-image for providing Glassfish server running on 1.7 JDK.


Example Dockerfile for image created on this. Creates domain called example and intializes it to be started with runit.

# Docker image for providing running Glassfish server
# $ docker build -t glassfish3-example .
# $ docker run -i -t -p 6048:6048 -p 6080:6080 glassfish3-example

FROM reap/docker-glassfish3

# create domain
RUN / example 6000

# expose domains admin and http-port
EXPOSE 6048 6080
Docker Pull Command
Source Repository

Comments (1)
2 years ago

i installed it and get following error.
$ docker run -i -t -p 6048:6048 -p 6080:6080 glassfish3-gpl
Running /etc/my_init.d/
No SSH host key available. Generating one...
Creating SSH2 RSA key; this may take some time ...
Creating SSH2 DSA key; this may take some time ...
Creating SSH2 ECDSA key; this may take some time ...
Creating SSH2 ED25519 key; this may take some time ...
invoke-rc.d: policy-rc.d denied execution of restart.
Running /etc/rc.local...
Booting runit daemon... Runit started as PID 96