Devoxx 2015: Open Source, Open Containers, & Open Cloud

Preview:

Citation preview

The Power ofOpen Source,Open Containers, and anOpen Cloud

Phil Estes, IBM Open Cloud TechnologiesRalph Bateman, IBM Cloud Foundation Services

WHO ARE WE?

Ralph BatemanSenior Technical Staff MemberIBM Cloud Foundation Services

> Docker and OpenStack expert in IBM> Operates IBM’s public container service cloud

Phil EstesSenior Technical Staff Member

IBM Open Cloud Technologies

Docker community core engine maintainer <Linux/open source expertise for 15 years @ IBM <

IBM?punch cards..

typewriters..

mainframes..

..Open Source?

1.OPEN SOURCE

bit.ly/openbydesign

“You can’t out-innovate the world...

- Dr. Angel Luis Diaz Vice President, IBM Cloud Technology & Architecture

Linux Foundation Collaboration

projects have generated 115 million

lines of code .. valued at $5 billion

USD..- Sep 30, 2015 Linux Foundation report

The core docker engine GitHub project has over 25,900 stars and almost 7000 forks, with > 1000 actual contributors

- https://github.com/docker/docker

The OpenStack Foundation has 28,000 individual members worldwide with > 100 corporate

sponsors employing 1000s of contributors

- https://openstack.org/foundation

2.DOCKER CONTAINERS

engine

What is Docker?

REST API

Shared Linux kernel

Client/end user

DockerHub

Isolation relies on core Linux kernel technologies:cgroups, namespaces, capabilities, LSM restrictions, etc.

Build, ship and run distributed applications via a common toolbox...

Docker is now a fast-growing ecosystem of related projects:• Compose• Swarm• Machine• Advanced networking• Registry (DTR)• Kubernetes/Mesos• ..among many others$ docker run redis

$ docker run nginx$ docker run ..

Practical Docker

Docker container image• A filesystem (set of independent &

shareable layers)• A configuration (what to run & how)• Pushable to a remote repository for

sharing with others (taggable and versionable)

FROM ubuntuMAINTAINER estesp@gmail.com

RUN apt-get install libsomethingADD myprogram /binADD myconfig.conf /etc

EXPOSE 80CMD /bin/myprogram

Dockerfile

ubuntu layers

libraries

myprogram

$ docker build -t myprogram .STEP 0..

$ docker run -d -p 80:80 myprogram6ca350521306…

$ docker psCONTAINER ID IMAGE6ca350521306 myprogram

$ docker tag myprogram estesp/myprog$ docker push estesp/myprog see https://docs.docker.com for more!

TINY CONTAINERSHow small can you go?

IBM Contributions to Docker• 1 upstream contributor in August 2015; now 25• IBM has 2 core engine maintainers • IBM has contributions across:

– Docker engine– Compose– Machine– Swarm– Distribution (Docker registry)– libnetwork– libcontainer (prior to OCI)– Opencontainers/runC– Docker-py

3.AN OPEN CLOUD

IBM Container Cloud, built on Docker

• Easily host your Docker containers in IBM’s public cloud offering

• Manages the full container lifecycle

• Utilizes the standard Docker API

IBM Bluemix

IBM’s Open Cloud Architecture

Bare Metal Cloud Resources

Storage Compute Network

AutomatedBare Metal

Infrastructure

IBMContainers

InstantRuntimes

Virtual CloudResources

VirtualMachines

DEMO TIME!Simple DevOps and

Minecraft with containers in the public cloud..

THANKS!

Any questions?Contact information/ways to find us below..

@estesp

github.com/estesp

estesp@gmail.com

http://integratedcode.us

IRC: estesp

@ralphbuk

github.com/ralphbuk

Ralph@uk.ibm.com

http://ralphbuk.wordpress.com

IRC: ralphbuk