/README

Overview of Docker images provided by fabric8

Fabric8 Docker Images



Fabric8 is a Microservices platform on top of Kubernetes and OpenShift. It includes also a set of Docker images for creating Microservices but which are also usable as general Docker base images. This document gives an overview of all images available.

These images came as families, whose members are slight variations with different flavors. E.g. the Java base image has variants based on CentOS, Alpine or jboss/base-jdk for Java 7 and 8 with including the full JDK or only the JRE. These families are created from templates with the help of fish-pepper, a templating engine for Docker builds. Each image family shares the same release cycle (i.e. the version) and are available from index.docker.io.

All images share some common characteristics as they include shared fish-pepper blocks:

  • run-java.sh is a generic startup script for starting Java application which can be influenced by various environment variables. It is also used in server images for seting container specific limits (e.g. memory limits).

  • Agent Bond is a super JVM agent which includes Jolokia for accessing JMX information and jmx_exporter for exposing Prometheus metrics. These agents also can be enabled / disabled and configured with environment variables.

The following images are available. Please refer to their GitHub and DockerHub repos for more details and usage information.

Java

The Java base image contain a generic shell startup script which startups Java application stored in a directory either as flat classpath application or as a fat jar.

Table 1. Table Java Images
Image GitHub DockerHub

Java 8 derived from jboss/base-jdk:8

fabric8io-images/java

fabric8/java-jboss-openjdk8-jdk

Java 7 derived from jboss/base-jdk:7

fabric8io-images/java

fabric8/java-jboss-openjdk7-jdk

OpenJDK 8, JDK on Alpine Linux

fabric8io-images/java

fabric8/java-alpine-openjdk8-jdk

OpenJDK 8, JRE on Alpine Linux

fabric8io-images/java

fabric8/java-alpine-openjdk8-jre

OpenJDK 7, JDK on Alpine Linux

fabric8io-images/java

fabric8/java-alpine-openjdk7-jdk

OpenJDK 7, JRE on Alpine Linux

fabric8io-images/java

fabric8/java-alpine-openjdk7-jre

OpenJDK 8, JDK on CentOS

fabric8io-images/java

fabric8/java-centos-openjdk8-jdk

OpenJDK 8, JRE on CentOS Linux

fabric8io-images/java

fabric8/java-centos-openjdk8-jre

OpenJDK 7, JDK on CentOS Linux

fabric8io-images/java

fabric8/java-centos-openjdk7-jdk

OpenJDK 7, JRE on CentOS Linux

fabric8io-images/java

fabric8/java-centos-openjdk7-jre

Jetty

The Jetty server images automatically deploy any wars found under a certain directory, /deployments by default. These images can be used either as base images for your application, or linked together with a data container during runtime. These images are based directly on jboss/base-jdk:8.

Table 2. Table Jetty Images
Image GitHub DockerHub

Jetty 7

fabric8io-images/jetty

fabric8/jetty-7

Jetty 8

fabric8io-images/jetty

fabric8/jetty-8

Jetty 9

fabric8io-images/jetty

fabric8/jetty-9

Tomcat

The Tomcat server images automatically deploy any wars found under a certain directory, /deployments by default. These images can be used either as base images for your application, or linked together with a data container during runtime. These images are based directly on jboss/base-jdk:8.

Table 3. Table Tomcat Images
Image GitHub DockerHub

Tomcat 6

fabric8io-images/tomcat

fabric8/tomcat-6

Tomcat 7

fabric8io-images/tomcat

fabric8/tomcat-7

Tomcat 8

fabric8io-images/tomcat

fabric8/tomcat-8

Tomcat 9

fabric8io-images/tomcat

fabric8/tomcat-9

Karaf

The Karaf server images automatically deploy any wars found under a certain directory, /deployments by default. These images can be used either as base images for your application, or linked together with a data container during runtime. These images are based directly on jboss/base-jdk:8.

Table 4. Table Karaf Images
Image GitHub DockerHub

Karaf 2.4

fabric8io-images/karaf

fabric8/karaf-2.4

Karaf 3

fabric8io-images/karaf

fabric8/karaf-3

Karaf 4

fabric8io-images/karaf

fabric8/karaf-4

S2I

For OpenShift Source-2-Image Build, two builder images are provided in fabric8io-images/s2i. These are useful for creating S2I build for generice Java and Karaf based applications.

Table 5. Table S2I Images
Image GitHub DockerHub

S2I Java Builder Image

fabric8io-images/s2i

fabric8/s2i-java

S2I Karaf Builder Image

fabric8io-images/s2i

fabric8/s2i-karaf