Good Morning.
View Slide
dockerPython Indonesia Meet UpOctober 2013Sefrinaldi | @sfrnldiSoftware Engineer at Infinyscloud
I’m a .Net guy.
Infinyscloud.com
@sfrnldi
Knowing each other...
Docker is...
A containermanagementtool.
Created by folks at dotCloud
Based on dotCloudbackend engine
..to make LXC easier to use.
LXCLet you run a Linux systemwithin another Linux system
Linux Container“A group of processes on a Linuxbox, put together in an isolated env”.
Re-write
Reasons to use Docker
You’re a hipster
Re-installing Ubuntufrom scratch is not fun.
The only possible thing format toship code with it's environment isusing VM
VM uses too manyresource.
Want to ship everything aroundthe application, configuration,libs used, etc etc...
Developer can guaranty thatwhat he has create and run herecan run smoothly over there.
The chalenges.
The chalenges
The Matrix From Hell
The solution.
Create a standardshipment method.
The solution
“Build once...run anywhere”~ Developer
“Configure once...run anything”~ DevOps
Docker under the hood.
File System
Docker LayersRead-only
Docker ImageTheread-onlylayer
Docker Container
Docker Index / Registry
Getting started.
Dockerfile.
Build a Docker Image“docker build -t sfrnld/newimg .”
Pull an Image“docker pull ubuntu:quantal”
Get list of Docker images“docker image”
Create a Container“docker run -i -t ubuntu:quantal /bin/bash”
Get list of Docker container“docker ps -a”
Commit a Container“docker commit 275fd72a5f62 sfrnld/newimages”
Push an Image to Repository“docker push sfrnld/demo”
Let’s try it out!
Thanks for listening...