45
Clojure REPL or cluster deployment with Docker (nth clj-syd 19)

Clojure REPL or cluster deployment with Docker

Embed Size (px)

Citation preview

Clojure REPL or cluster deployment with Docker

(nth clj-syd 19)

Docker

Dockerpack, ship and run

LXC

LXC Definition

LXC is a userspace interface for the Linux kernel containment features

LXC Linux Container

“...something in the middle between

LXC Linux Container

“...something in the middle between★ a chroot on steroids and a

LXC Linux Container

“...something in the middle between★ a chroot on steroids and a★ full fledged virtual machine.”

LXC Linux Container

“...something in the middle between★ a chroot on steroids and a★ full fledged virtual machine.”

The goal of LXC is to create an environment as close as possible as a standard Linux

LXC Linux Container

“...something in the middle between★ a chroot on steroids and a★ full fledged virtual machine.”

The goal of LXC is to create an environment as close as possible as a standard Linux without the need for a separate kernel

LXC Linux Container

“...something in the middle between★ a chroot on steroids and a★ full fledged virtual machine.”

The goal of LXC is to create an environment as close as possible as a standard Linux without the need for a separate kernel

“If it can run on the Host,it can run in the Container”

LXC Linux Container

LXC ThoughtWorks technology radar

LXC ThoughtWorks technology radar

LXC ThoughtWorks technology radar

Docker

Docker Containers vs. VMs

Docker Containers vs. VMs

Docker Containers vs. VMs

Docker Inc - http://docker.io/

Docker Concepts

Docker Concepts

Image

Docker Concepts

Container

Docker Concepts: Image and Containers

Container

Image

Container

Run

Run

Docker Concepts: Image and Containers

Host

Container Container Container

Image Image

Run

RunRun

Docker Basic Docker Functions

Docker Basic Docker Functions

Docker Basic Docker Functions

Docker Inc - http://docker.io/

Docker Basic Docker Functions

Docker Deployment

Host

Container

FS

TCP Ports TCP Ports IPTables

Docker Deployment

Dockerrun

Docker Demo

sudo docker run -i -t -rm ubuntu bash

Docker Demo

sudo docker run -i -t -rm ubuntu bash# touch xxx# rm /bin/yyy

Docker Demo

sudo docker run \ -i -t -rm \ filippovitale/java7 \ java -version

Docker http://index.docker.io/

Dockerbuild

Docker

Ubuntu

Java7

Clojure-REPL

Docker

Demo

DockerThe whole Enchilada

Docker

Ubuntu

Java7

Clojure-REPL Zookeeper

Docker Demo

Z Z

Z

C

C

C

Docker

Docker

Docker

Questions?

Twitter @filippovitale BitBucket: filippovitale

GitHub: filippovitaleDocker Index: filippovitale

f in