page-brochureware.php

Docker on IBM Power Systems

Get started with Docker, the open platform tool that you can use to deploy, execute, and manage containers.

Docker is an open platform tool that you can use to deploy, execute, and manage containers. Docker for Power is only available for the Little Endian (LE) architecture. For more information on LE architecture, see the Little endian and Linux on IBM Power Systems website. You can use Docker on hosts that are running bare metal, where a hypervisor does not exist, or on virtual machines (VMs) that are running on KVM hypervisor or PowerVM hypervisor. The only requirement is an LE Linux distribution.

You can install Docker from the official repositories of the following LE Linux distributions:

  • Ubuntu from Xenial (16.04) version, and later
  • SUSE Linux Enterprise Server (SLES) 12, and later
  • Fedora version 23, and later
  • RHEL 7.4 LE

For Ubuntu Trusty (14.04) and Red Hat Enterprise Linux (RHEL) 7 to 7.3 LE distributions, you can download Docker binaries from the Unicamp repository website. Installation instructions are described in this article.

If you are looking for service and support options, see the IBM Support Line for Docker OSS on Power Systems website. For more information, see the webinar on Modernizing Power in the Enterprise Solutions and Support for Docker and CentOS on Power, which you can access with an IBM PartnerWorld ID.

Further, some of the commonly used Docker images for Power LE architecture are available in the Docker Hub website.

You can install Docker in your system on either Ubuntu Trusty 14.04/Xenial 16.04 or RHEL 7 to 7.3 LE.

Install Docker on Ubuntu

To install Docker on Ubuntu, perform the following steps with root privileges:

  • For Xenial and above (Ubuntu version 16.04 and later):

    Starting with Docker-CE v17.09.0, Docker builds and hosts .debs for ppc64le Ubuntu Xenial and above. To install Docker-CE from Docker, see Get Docker CE for Ubuntu.

  • For Trusty:
    1. Install the Docker repository.

      # echo deb http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/docker-17.06.0-ce-ppc64el/ trusty main > /etc/apt/sources.list.d/trusty-docker.list

    2. Update the archive index.

      # apt-get update

    3. Install the Docker package.

      # apt-get install docker-ce

Install Docker on RHEL 7 LE

Note:

  • For RHEL 7 LE based systems, you must add the Enterprise Linux 7 (EPEL) repository. See the EPEL wiki for more information.
  • If you are using RHEL 7.4, you can download the docker binaries that are available in the extras repositories (rhel-7-for-power-le-extras-rpms__ppc64le) provided with the distribution. For other RHEL versions, complete the steps described here.

To install Docker on RHEL 7 to 7.3 LE, perform the following steps with root privileges:

  1. Install the Docker repository. Press Enter after you type each of the following lines:

    # cat > /etc/yum.repos.d/docker.repo << EOF

    [docker]

    name=Docker

    baseurl=http://ftp.unicamp.br/pub/ppc64el/rhel/7/docker-ppc64el/

    enabled=1

    gpgcheck=0

    EOF

  2. Install the Docker package.

    # yum install docker-ce

  3. Start the Docker engine

    # service docker start

  4. Note: You can also install Docker Enterprise Edition Platform 2.0 (Docker-ee) for Power from the Docker Enterprise Edition Platform website.

You can see the following resources for more information about Docker:

Note: Manifest images that can support more than one architecture are available. For example, see the image in the golang repository website. In this example, the image supports the ppc64le architecture.