Interest in deploying software using Docker containers has been growing very quickly. Clients are hearing all the "buzz" around Docker and beginning to investigate how they can take advantage of this new technology. In the latest v2.1 release of IBM PureApplication, support has been added that allows clients to easily create patterns that deploy Docker containers as software components using the pattern editor. Now clients can build upon the skills they already have with patterns and easily add Docker containers. Because the new support for Docker is integrated with the existing patterns, the new technology can be added incrementally at a pace that makes sense for the customer's business. There is no need to "start all over again" in order to exploit Docker.
08448380779 Call Girls In Friends Colony Women Seeking Men
C219 - Docker and PureApplication Patterns: Better Together
1. IBM Software University 2015
WebSphere Technical University PLUS
Mobile, BPM, Cloud, Integration, Application
Platform, IBM z Systems and Digital Experience
13 – 16 October 2015|Dublin, Ireland
C219
Docker and PureApplication Patterns:
Better Together
Hendrik van Run – Executive IT Specialist, IBM Systems Middleware
Joe Wigglesworth – Senior Technical Staff Member, IBM Systems Middleware
3. PureApplication v2.1.1 - System, Service, and Software
• Docker support to combine, deploy and manage Docker
containers with Patterns for:
• Up to 10X faster deployments, scaling & upgrades
• Seamless portability across clouds
• Access to 14,000+ pre-built apps
• Enhanced Chef support to integrate and leverage Chef
investments
• Faster connectivity between hybrid environments
• Secure fine grain access control to on-premises data by off-
premises applications
• Off-premise backup and restore for improved business
continuity
• Out of the box Denial of Service protection for improved
security
• New support for BYOHW to write applications once, deploy
… on an off-prem cloud,
… on a pre-integrated system,
… on your own hardware,
… or anywhere Docker containers can run
Embracing Open
Technology to
Improve Developer
Productivity
Enterprise-Strength
Hybrid Cloud to
Accelerate Delivery
Flexibility by Design
to Simplify
Operations
4. On a Pre-Integrated System
POWER or x86
On Your Own Infrastructure
Bring your own hardware
On SoftLayer
Available in SoftLayer data
centers worldwide
A hybrid cloud application platform
for cloud enabling applications and
middleware with enterprise grade
qualities of service
Off-Premises On-PremisesOn-Premises
5. Containers are a lightweight alternative to Virtual Machines for running
software in portable and isolated virtual environments
Attribute VM Container
Start-up time & Performance Slow (minutes) HV overhead Fast (seconds) no HV overhead
Footprint Large (nothing shared) Small (OS kernel shared)
Resource Constraints Yes Yes (CPU, Memory)
Isolation & Security High High
Portability Low High
Traditional Virtualization Approach
App A App B1 App B2
Bins & Libs Bins & Libs Bins & Libs
Guest OS Guest OS Guest OS
Hypervisor
Server HW
App A App B1 App B2
Bins & Libs Bins & Libs
Host OS Kernel
Server HW
Docker Container Approach
Hypervisor OPTIONAL
VMs
Containers
What is a Container?
6. Containers
What is Docker? Linux Container Management
images
Docker CLI/API Interface to control the Docker Engine
Docker Engine Container runtime management and image build services
Docker Registry Private Image management and versioning services
Docker Hub Public Docker image registry with curated content
Private
Docker
Registry
Docker
Hub
App A App B1 App B2
Bins & Libs Bins & Libs
Docker Engine
Host OS
Server HW
7. 1. Build, deploy and run Patterns with Docker
containers on PureApplication System, Service
and Software
2. PureApplication brings Enterprise-grade
lifecycle management to Docker
3. Private Docker Registry deployable through a
Virtual System Pattern
+
Enterprise Strength Docker
Improved Performance
• Faster application deployment, start-up and scaling
• Higher density deployments 7.8X more containers vs. VMs on same HW
• VMware provides capabilities currently lacking in Docker (e.g. vMotion)
Portability, Hybrid Cloud, Open ecosystem, Productivity
• More seamless workload movement in hybrid & borderless cloud scenarios
• Access thousands of pre-built applications on Docker Hub (http://hub.docker.com)
• IBM has made a number of Images available on Docker Hub, including WebSphere
Liberty, IBM MQ Light, DB2 10.5 Express, etc
Patterns
Docker and Patterns Complement Each Other
8. High Level Architecture for Docker Support in PureApplication
Private Docker
Registry
Docker Hub
Catalog
Images,
Software
Components,
Scripts
Web Console and Pattern
Builder
VM
Maestro
Docker Plugin
Scaling
Monitoring
Pattern Engine
PureApp System, Software, Service
Container
Container
Container
Logging
Docker Engine
Hypervisor
Server HW
9. Virtual System Pattern will configure the host VMs of Docker containers
Maestro runs on the VM and Docker plugin will interact with Docker
Engine for container lifecycle management
PureApplication
Virtual System Pattern
Deploy
DockerRegistryorDockerHub
Provisioning a Pattern of Docker containers
Maestro
Docker
Plugins
Docker
Python API
Container
Container
Container
Maestro
Docker
Plugins
Docker
Python API
Container
Container
Container
Docker Engine
Docker Engine
VM
Hypervisor
VM
Hypervisor
10. Existing system
Using a Private Docker Registry on PureApplication
Private Docker
Registry
deploy
Private Docker
Registry
Virtual System Pattern
11. A Docker Container is a software component
in the Pattern Builder
• Place one or more Docker containers on one or
more VMs
• Associate an image with each Docker container
• Wire together pattern types and containers
• Mix pattern types and containers on the same VM
• Integrate container monitoring and logging
• View integrated container resource utilization (CPU
and Memory)
• Built-in horizontal scaling
• Upgrade the Docker Image running in a container
• Auto restart of failed containers
What can you do with Docker in PureApplication?
12. When a Docker image is deployed to create a container, the container can
be linked to other containers
The linking is based on the container name
Remember that by default containers are isolated!
The PureApplication pattern editor gives developers the means to create
such links graphically and name the links
Docker Container Linking
Docker Container Link between containers on different VMs Docker Container Link
between containers on
the same VM
13. When a Docker image is built, the
creator must specify the ports that are
exposed for incoming connections
Docker supports the capability to map a
container port number to a port number
on the host system
This helps avoid collisions when
two containers in the same host
expect to use the same port
number
The PureApplication pattern editor
detects the exposed ports and allows
the pattern developer to set the
mappings for run time
Docker Port Mapping
14. Environment variables are a common
method for providing input to a Docker
container when it is created
The expected environment variables
are typically identified in the
documentation of the Docker image
The PureApplication pattern editor
detects and displays an image’s
environment variables
New environment variables can also be
declared in the pattern editor
Docker Environment Variables
15. A data volume is a specially-designated
directory within one or more containers
used for persistent or shared data:
Volumes are initialized when a
container is created
The volumes exist within the storage
of the host OS, possibly block
storage
Data volumes can be shared and
reused among containers
Data volumes persist even if the
container itself is deleted
Docker never automatically deletes
volumes when a container is removed
The PureApplication pattern editor allows
for defining volumes to be attached to a
container
Docker Volumes
16. Additional Docker options can also be
specified in PureApp patterns
If a container should be restarted when
it fails, this option can be set
For better integration with PureApp log
management, the location of logs can
be specified
Docker containers that function only as
data volumes can be defined
Limits can be set to prevent a container
from consuming excess resources
Memory
CPU shares
Some containers require special OS
access and need to run in Privileged
mode
Advanced Options
17. docker pull ibmcom/websphere-liberty
docker tag ibmcom/websphere-liberty
<registry_server>:<port>/ibmcom/websphere-liberty
docker push <registry_server>:<port>/wasdev/websphere-
liberty
PureApplication does not include Docker content in this release.
You have to build your own content or use what’s in DockerHub
and place this content in the private Docker registry
How to obtain Docker Content?
images
Private
Docker
Registry
Docker
Hub
Linux
Workstation
1 docker pull
2 docker tag
3 docker push
26. Docker & Patterns: Liberty Container and DB2 Pattern
1
2
Scenario:
Compute node w/ Docker container,
containing Liberty, connected to...
Compute node w/ DB2 Pattern, and
several script packages
1
2
Value:
Docker content gets access to
PureApp’s enterprise-grade lifecycle
Patterns gain ability to run 40,000+
dockerized apps
27. Liberty Profile Server and MongoDB Container on same VM
1
2
Scenario:
Compute node w/ Liberty Pattern
Connected to…
Mongo DB Docker Container running in
the same VM and script packages
1
2
28. Liberty Controller Container and Liberty Member Container
Scenario:
Member Docker Container registers with Controller Docker Container
Scale out member & members registers with controller
1
2
1
2
29. 1. Build, deploy and run Patterns with Docker
containers on PureApplication System, Service
and Software
2. PureApplication brings Enterprise-grade
lifecycle management to Docker
3. Private Docker Registry deployable through a
Virtual System Pattern
+
Enterprise Strength Docker
Improved Performance
• Faster application deployment, start-up and scaling
• Higher density deployments 7.8X more containers vs. VMs on same HW
• VMware provides capabilities currently lacking in Docker (e.g. vMotion)
Portability, Hybrid Cloud, Open ecosystem, Productivity
• More seamless workload movement in hybrid & borderless cloud scenarios
• Access thousands of pre-built applications on Docker Hub (http://hub.docker.com)
• IBM has made a number of Images available on Docker Hub, including WebSphere
Liberty, IBM MQ Light, DB2 10.5 Express, etc
Patterns
To Sum It Up: Docker and Patterns Are Better Together