This session provides a quick introduction of Docker containers on Linux, and how to configure it on Ubuntu running on a POWER8 processor-based system. We discuss requisites, steps, repositories and use cases. We also make a comparison between Docker and AIX Workload Partitions. During the presentation we demonstrate how to deploy and use containers, and how to manager Docker containers on Power.
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
Docker on Power Systems
1. Technical University/Symposia materials may not be reproduced in whole or in part without the prior written permission of IBM.
9.0
César Diniz Maciel
Executive IT Specialist
IBM Corporate Strategy
cmaciel@us.ibm.com
pCV4103 - Docker, lxc, lxd and friends
2. Session objectives
After this session, you will be able to:
• Understand about containers and how they are useful for
deploying applications;
• Learn how to install Docker on Power Systems and how to
deploy containers;
• Learn basic Docker management commands, how to create
images and how to move containers across systems;
5. What are Containers?
● Two new features enabled containers
● Cgroups and Name spaces
●
Different name space for process
●
Own process space
●
Can run stuff as root (Chroot)
● Concept from Plan9 (1992)
● Done with setns and unshare system call
● Share the same kernel
● No device emulation
● A name space is completely separated
● Full network stack on the new name space
● Own routes
● Own Firewall rules
● Name resolution mechanism
● Mount, PIDs, IPCs,
Server
Host OS
Linux Container + Docker Engine
Middleware YMiddleware X
App
A
App
A
App
A1
App
A1
App
B
App
B
App
B1
Container
9. ●
Portability
●
If it works locally, it will work on the server, with
exactly the same behavior, regardless of
versions, distro, dependencies
●
Quick boot
●
Faster provisioning
●
Can fit far more containers than VMs into a host
●
Simplified security
●
Only need to fix things on the hosts
●
Lower Costs
●
Fewer operating systems to manage
●
Easy OS patching
●
Greater application mobility
●
Starting/Stoping a container is a about process
management
Benefits of containers
Manual VM Docker
Provision
TimeDays
Minutes
Seconds / ms
10. ● LXC is supported on all IBM Distros available
● Docker on POWER is no different than Docker on x86 platforms from a usability perspective
● Docker is only supported in Ubuntu 15.04 and Fedora 23 at the moment.
● Experimental at RHEL and SUSE
● LXD is only available in Ubuntu 15.04
● http://images.linuxcontainers.org contains ppc64el images
● There is a growing ecosystem of dockerized applications for POWER
● System Z also supports it
– https://www.ibm.com/developerworks/linux/linux390/docker.html
IBM POWER containers support
13. ●
LXC is the base, distro independent, container infrastructure.
●
Created in IBM/LTC in 2009
●
LXD is a controller over LXD allowing new features over LXC
●
File-system snapshot
●
Migration
●
Docker is an application delivery that uses containers
technologies
●
Focused on images
●
AnotherUnionFs (AUFS)
●
Was based on LXC in the beginning, now has it own
technology called libcontainer
●
Focused on a few, hopefully 1, process
What is difference between Docker, LXC and
LXD?
14. LXC, LXD and Docker usage
Similar to AIX System WPAR Similar to AIX Application WPAR