Friday, July 7, 2017

An Overview on s390x Base Images

For s390x, quite a few options for base images are available on Docker Hub/Docker Store these days. They vary from enterprise environments over community distributions to minimal images. This post gives an overview on what is provided by various sources.

This list puts enterprise distribution options next to their community flavours, and is in alphabetical order:
  • Alpine Linux, a minimal Linux distro (base image is 5MB in size): s390x/alpine. This starts with version 3.6.
  • ClefOS, a build of CentOS for s390x -- community version of Red Hat's RHEL: sinenomine/clefos-base-s390x -- comparable and compatible to RHEL 7
  • Red Hat Enterprise Linux is not provided on Docker Hub/Store, so RHEL users need to create their own images at this time, e.g. as described here.
  • Debian is one of the major free Linux distributions: s390x/debian. Maintained for versions jessie=8, stretch=testing, sid=unstable.
  • Canonical's Ubuntu is based on Debian: s390x/ubuntu. All releases starting with 16.04 are provided (xenial=16.04, yakkety=16.10, zesty=17.04, artful=17.10 [development branch])
  • openSUSE recent got s390x support: s390x/opensuse. Provided are versions 42.2=leap and tumbleweed which is a rolling release for the next version
  • SUSE Linux Enterprise Server image are also not available not Docker Hub/Store. SLES users have two options:
    • SUSE's containers module (which also provides the Docker engine) offers RPMs to create SLES 11 and SLES 12 base images: use sle2docker and sles*-docker-image RPMs which are provided in the containers module; see SUSE's documentation for more information.
    • a script like this creates a base image based on the SLES host image
Note: in this list, the images' hyperlinks point to Docker Hub, which I currently find more convenient than Docker Store -- although Docker Store will probably be the future.

No comments:

Post a Comment