ZSystems/Container Images

Jump to: navigation, search

Container Images

We want to enable Kubernetes distributions and applications with container images for IBM Z. They will be built with our Open Build Service and published in the openSUSE Registry. Some images are available on Docker Hub:

We want to expand the portfolio with most important applications and runnable on IBM Z.

Prerequisites

  1. Access to a mainframe (LinuxONE Community Cloud)
  2. Upgrade SLES to openSUSE Tumbleweed.
  3. Install Docker
  4. Install additional tools for network analysis, in case you prefer the "classic" tools like netstat, ifconfig compared to ss, ip:
sudo zypper install net-tools-deprecated
  1. In case you've got possibly long-running commands in the background and you want them to continue even after you've been logged out from your ssh session, consider installing a terminal multiplexer like e.g. tmux or screen (see either Tmux Wiki or Screen Manual for details regarding their usage):
sudo zypper install tmux
sudo zypper install screen

Github Repository

Open Build Service


HowTo for Building containers

How to build/ develop container images

    • Clone official images from the Docker Hub Github repository to the mainframe with pre-installed Docker (or openSUSE Kubic)
    • Replace the base image with the openSUSE image (FROM opensuse/tumbleweed)
    • Replace installation commands with zypper commands
    • Run docker build -t application .
    • Test the functionality with docker run.

Example:

docker run -d -it --name tomcat1 -p 8080:80 -v "$PWD"/app:/srv/tomcat/webapps tomcat:latest


Information about available base images and the openSUSE Kubic project.

List with required services/applications as container images

  • OpenJDK: Copy Dockerfile from OBS instead of Github (Done)
  • payara
  • WildFly
  • Go: Copy Dockerfile from OBS instead of Github (Done)
  • Ruby
  • Prometheus
  • Elasticsearch
  • Logstash
  • Kibana
  • Samba