Docker for Linux on Power Systems
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 Just the FAQs about Little Endian website.
You can use Docker either 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 Vivid (15.04) version, and later
- SUSE Linux Enterprise Server (SLES) 12, and later
- Fedora version 23, and later
For Ubuntu Trusty (14.04) and Red Hat Enterprise Linux (RHEL) 7 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.
The latest upstream Docker binaries are also available in the Docker Master Binaries website.
Further, some of the commonly used Docker images for Power LE architecture are available in the https://hub.docker.com/u/ppc64le/ Docker Hub location.
For questions, comments, and feedback, join the Linux on Power community.
This section describes how you can install docker in your system.
This section describes how to install docker on either Ubuntu Trusy 14.04 or RHEL 7.1 LE.
Install docker on Ubuntu Trusty
To install docker on the Ubuntu Trusty, perform the following steps with root privileges:
- Install the docker repository.
# echo deb http://ftp.unicamp.br/pub/ppc64el/ubuntu/14_04/docker-ppc64el/ trusty main > /etc/apt/sources.list.d/trusty-docker.list
- Update the archive index.
# apt-get update
- Install the docker package.
# apt-get install docker-engine
Install docker on RHEL 7.1 LE
To install docker on RHEL 7.1 LE, perform the following steps with root privileges:
- Install the Docker repository:
#cat < /etc/yum.repos.d/docker.repo >>EOF [docker] name=Docker baseurl=http://ftp.unicamp.br/pub/ppc64el/rhel/7_1/docker-ppc64el/ enabled=1 gpgcheck=0 EOF
- Install the docker package.
# yum install docker
- Start the docker engine
# service docker start
Note: You can also install docker packages for RHEL 7 LE from the https://www14.software.ibm.com/webapp/set2/sas/f/lopdiags/installation.html IBM yum repository.
Set up a docker private registry with basic HTTP authentication support
Docker Registry is a server-side application that enables sharing of docker images. If accessing the public hosted registry is not an option due to company policy, firewall restrictions and so on, you can deploy a private registry. The Set up a docker private registry with basic HTTP authentication support article describes how to setup a docker private registry.
Using docker containers networks
To build web applications that act in concert securely, use the docker networks feature. Networks, by definition, provide complete isolation for containers. Hence, it is important to have control on the networks that your applications run on. Docker container networks give you that control. The Using docker containers networks article describes describes the type of networks that the docker engine creates by default and shows you how to create your own, user-defined networks.
Managing docker containers with orchestration
Docker orchestration is container scheduling, cluster management, and provisioning of more hosts in a docker environment. Read the following article to learn more about docker orchestration: Managing docker containers with orchestration.
- nvidia-docker on POWER: GPUs Inside Docker Containers
- Using Docker Swarm mode on OpenPOWER servers
- Vulnerability scanning of Docker images on OpenPOWER systems
- Configuring flannel overlay network with VXLAN for Docker on IBM Power Systems servers
- Enforcing cluster-wide policies for a Kubernetes-based Docker cluster