SlideShare a Scribd company logo
Docker
Massimiliano Dessi
@desmax74
Docker
Speaker @desmax74
Massimiliano Dessi has more than 14 years of experience In programming,
Works in the Cloud Computing area with DevOps methods.
He's a proud father of three, Manager of GDG Sardegna,
Co-founder of JugSardegna, Author of Spring 2.5.AOP.
Docker
Dockers ?!???
Not this
Docker
Docker
Docker
Docker
Container != Virtual Machine
● Container run at kernel level (>=3.10)
● Virtual Machine use HW with a emulation layer
● Container -> Lower overhead than VMs
Docker
Virtualization
One or more independent
machines
run virtually
on physical hardware
via an intermediation layer
VirtualBox, VmWare, Xen
Docker
Container
containers run in user space on top of an
operating system’s kernel
Cgroups & Namespaces
Docker, OpenVZ, Solaris Zones, and
Linux containers (lxc)
Docker
Containers
They require limited overhead and can allow a
greater density of containers to run on a host.
Fast, containers start in seconds
Docker
Containers
● Copy on write
model
● Layered and
immutable
structure
(snapshot)
to build one
image on top of
another
● A Docker image is a snapshot of a filesystem
● Repository Git-like for the images (repos)
Docker
● Docker is an open-source engine that automates
the deployment of applications into containers
released by them under the Apache 2.0 license.
● https://github.com/docker/docker/
Docker
Docker =>Golang
Docker
Components
Docker client and server
Docker Images
Registries
Docker Containers
Docker
Client and Server (daemon)
Docker
Client CLI
Docker
Server
Docker
Client Ui
Docker
Client UI
Docker
Image
● A native Linux container format (libcontainer)
● Linux kernel namespaces, => isolation for
filesystems, processes, and networks.
● Filesystem isolation: each container is its own
root filesystem
● Process isolation: each container runs in its own
process environment
● Network isolation: separate virtual interfaces and
IP addressing between containers.
Docker
FROM desmax74/ubuntu-ansible.14.04
RUN apt-get update && apt-get install -y g++ gcc libc6-dev make curl ca-certificates net-
tools
&& rm -rf /var/lib/apt/lists/* && apt-get clean
ENV GOLANG_VERSION 1.5.1
ENV GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.src.tar.gz
ENV GOLANG_DOWNLOAD_SHA1 0df564746d105f4180c2b576a1553ebca9d9a124
RUN curl -fsSL "$GOLANG_DOWNLOAD_URL" -o golang.tar.gz 
&& echo "$GOLANG_DOWNLOAD_SHA1 golang.tar.gz" | sha1sum -c - tar -C /usr/src -xzf golang.tar.gz
&& rm golang.tar.gz && cd /usr/src/go/src && ./make.bash --no-clean 2>&1
ENV GOPATH /go
ENV PATH $GOPATH/bin:/usr/src/go/bin:$PATH
RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
WORKDIR $GOPATH
COPY go-wrapper /usr/local/bin/
VOLUME ["/gopath/app/","/data"]
WORKDIR /gopath/app/
...
Docker
● Resource isolation and grouping: resources like CPU
and memory are allocated individually to each
Docker container using the cgroups, or
controlgroups, kernel feature.
● Copy-on-write: filesystems are created with copy-on-
write, meaning they are layered and fast and require
limited disk usage.
● Logging
● Interactive shell
Docker
Container idea
● A container sandboxed processes that share the
same kernel as the host.
● The idea is that you can ship containers from your
development environment to the deployment
environment
Docker
Use Cases
● Application Development
● Test
● Packaging
● Deployment
● Application isolation
● Microservices
● Paas/Saas cloud infrastructure
● Google Cloud, Openshift, Bluemix, Amazon ECS, Cloud
Foundry ...
Docker
Repos
Docker
Demo
Docker
Q & A
Docker
Contacts
https://twitter.com/desmax74
http://www.slideshare.net/desmax74
https://www.linkedin.com/in/desmax74
Docker
Thanks for your attention !

More Related Content

What's hot (20)

PDF
Docker on Google App Engine
Docker, Inc.
 
PDF
Docker on Windows
Stefan Scherer
 
PDF
Ansible docker
QNIB Solutions
 
PDF
Containers: The What, Why, and How
Sneha Inguva
 
PPTX
Dockerizing stashboard - Docker meetup at Twilio
dotCloud
 
PDF
ContainerDayVietnam2016: Django Development with Docker
Docker-Hanoi
 
PDF
Wordcamp Bratislava 2017 - Docker! Why?
Adam Štipák
 
PDF
Dockercon 16 Wrap-up (Docker for Mac and Win, Docker 1.12, Swarm Mode, etc.)
Nils De Moor
 
PDF
Introdution to Docker (theory and hands on) dbCafé - dbTrento
Cristian Consonni
 
PPTX
When Docker Engine 1.12 features unleashes software architecture
Adrien Blind
 
PDF
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
dotCloud
 
PPTX
Docker orchestration
Open Source Consulting
 
PPTX
Architecting .NET Applications for Docker and Container Based Deployments
Ben Hall
 
PPTX
Integration with Docker and .NET Core
Sriram Hariharan
 
PDF
runC: The little engine that could (run Docker containers) by Docker Captain ...
Docker, Inc.
 
PDF
How we dockerized a startup? #meetup #docker
Jonathan Martin
 
PDF
Online Meetup: What's new in docker 1.13.0
Docker, Inc.
 
PDF
Docker, Kubernetes, and Google Cloud
Samuel Chow
 
PDF
Introduction to Docker at SF Peninsula Software Development Meetup @Guidewire
dotCloud
 
PDF
Docker Introduction
Sparkbit
 
Docker on Google App Engine
Docker, Inc.
 
Docker on Windows
Stefan Scherer
 
Ansible docker
QNIB Solutions
 
Containers: The What, Why, and How
Sneha Inguva
 
Dockerizing stashboard - Docker meetup at Twilio
dotCloud
 
ContainerDayVietnam2016: Django Development with Docker
Docker-Hanoi
 
Wordcamp Bratislava 2017 - Docker! Why?
Adam Štipák
 
Dockercon 16 Wrap-up (Docker for Mac and Win, Docker 1.12, Swarm Mode, etc.)
Nils De Moor
 
Introdution to Docker (theory and hands on) dbCafé - dbTrento
Cristian Consonni
 
When Docker Engine 1.12 features unleashes software architecture
Adrien Blind
 
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
dotCloud
 
Docker orchestration
Open Source Consulting
 
Architecting .NET Applications for Docker and Container Based Deployments
Ben Hall
 
Integration with Docker and .NET Core
Sriram Hariharan
 
runC: The little engine that could (run Docker containers) by Docker Captain ...
Docker, Inc.
 
How we dockerized a startup? #meetup #docker
Jonathan Martin
 
Online Meetup: What's new in docker 1.13.0
Docker, Inc.
 
Docker, Kubernetes, and Google Cloud
Samuel Chow
 
Introduction to Docker at SF Peninsula Software Development Meetup @Guidewire
dotCloud
 
Docker Introduction
Sparkbit
 

Viewers also liked (12)

PDF
Codemotion 2013 scalatra_play_spray
Massimiliano Dessì
 
PDF
Scala Italy 2013 extended Scalatra vs Spring MVC
Massimiliano Dessì
 
PDF
Reactive applications Linux Day 2013
Massimiliano Dessì
 
ODP
Why we cannot ignore functional programming
Massimiliano Dessì
 
PDF
Vert.X like Node.js but polyglot and reactive on JVM
Massimiliano Dessì
 
PPTX
The busy developer guide to Docker
Maurice De Beijer [MVP]
 
PDF
The hitchhiker's guide to UXing without a UXer - Chrissy Welsh - Codemotion M...
Codemotion
 
PDF
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Massimiliano Dessì
 
PDF
Event storming recipes
Alberto Brandolini
 
PDF
The final words about software estimation
Alberto Brandolini
 
PDF
The amazing world of Game Design - Emanuele Bolognesi - Codemotion Milan 2016
Codemotion
 
PPTX
Event sourcing your React-Redux applications
Maurice De Beijer [MVP]
 
Codemotion 2013 scalatra_play_spray
Massimiliano Dessì
 
Scala Italy 2013 extended Scalatra vs Spring MVC
Massimiliano Dessì
 
Reactive applications Linux Day 2013
Massimiliano Dessì
 
Why we cannot ignore functional programming
Massimiliano Dessì
 
Vert.X like Node.js but polyglot and reactive on JVM
Massimiliano Dessì
 
The busy developer guide to Docker
Maurice De Beijer [MVP]
 
The hitchhiker's guide to UXing without a UXer - Chrissy Welsh - Codemotion M...
Codemotion
 
Microservices in Go_Dessi_Massimiliano_Codemotion_2017_Rome
Massimiliano Dessì
 
Event storming recipes
Alberto Brandolini
 
The final words about software estimation
Alberto Brandolini
 
The amazing world of Game Design - Emanuele Bolognesi - Codemotion Milan 2016
Codemotion
 
Event sourcing your React-Redux applications
Maurice De Beijer [MVP]
 
Ad

Similar to Docker linuxday 2015 (20)

PDF
Docker Up and Running for Web Developers
Amr Fawzy
 
PDF
Docker up and Running For Web Developers
BADR
 
PPTX
Docker - A curtain raiser to the Container world
zekeLabs Technologies
 
PDF
Docker
Neeraj Wadhwa
 
PPTX
Docker
Charlie Cai
 
PDF
Agile Brown Bag - Vagrant & Docker: Introduction
Agile Partner S.A.
 
PPTX
Docker.pptx
balaji257
 
PDF
Docker Basics
Eueung Mulyana
 
PPTX
Dockers and containers basics
Sourabh Saxena
 
PDF
containers and virtualization tools ( Docker )
Imo Inyang
 
PDF
Cloud Native Computing - Part III - Containers
Linjith Kunnon
 
PPTX
Working ,Introduction to Docker, Scope,,
gauravnainwal2291
 
PPTX
Dockerize the World - presentation from Hradec Kralove
damovsky
 
PDF
Docker for developers
Anvay Patil
 
PDF
Introduction to Docker
Tharaka Devinda
 
PDF
Docker
Abhishek Tomar
 
PPTX
Docker Ecosystem on Azure
Patrick Chanezon
 
PDF
Docker 101: An Introduction
POSSCON
 
PPTX
Getting started with Docker
Ravindu Fernando
 
Docker Up and Running for Web Developers
Amr Fawzy
 
Docker up and Running For Web Developers
BADR
 
Docker - A curtain raiser to the Container world
zekeLabs Technologies
 
Docker
Charlie Cai
 
Agile Brown Bag - Vagrant & Docker: Introduction
Agile Partner S.A.
 
Docker.pptx
balaji257
 
Docker Basics
Eueung Mulyana
 
Dockers and containers basics
Sourabh Saxena
 
containers and virtualization tools ( Docker )
Imo Inyang
 
Cloud Native Computing - Part III - Containers
Linjith Kunnon
 
Working ,Introduction to Docker, Scope,,
gauravnainwal2291
 
Dockerize the World - presentation from Hradec Kralove
damovsky
 
Docker for developers
Anvay Patil
 
Introduction to Docker
Tharaka Devinda
 
Docker Ecosystem on Azure
Patrick Chanezon
 
Docker 101: An Introduction
POSSCON
 
Getting started with Docker
Ravindu Fernando
 
Ad

More from Massimiliano Dessì (20)

PDF
Code One 2018 maven
Massimiliano Dessì
 
PDF
When Old Meets New: Turning Maven into a High Scalable, Resource Efficient, C...
Massimiliano Dessì
 
PDF
Hacking Maven Linux day 2017
Massimiliano Dessì
 
PDF
Web Marketing Training 2014 Community Online
Massimiliano Dessì
 
PDF
Scala linux day 2012
Massimiliano Dessì
 
PDF
Three languages in thirty minutes
Massimiliano Dessì
 
PDF
MongoDB dessi-codemotion
Massimiliano Dessì
 
PDF
MongoDB Webtech conference 2010
Massimiliano Dessì
 
PDF
RESTEasy
Massimiliano Dessì
 
PDF
Spring Roo Internals Javaday IV
Massimiliano Dessì
 
PDF
Spring Roo JaxItalia09
Massimiliano Dessì
 
PDF
Jaxitalia09 Spring Best Practices
Massimiliano Dessì
 
PDF
Spring3.0 JaxItalia09
Massimiliano Dessì
 
PDF
MongoDB Scala Roma SpringFramework Meeting2009
Massimiliano Dessì
 
PDF
Scala Programming Linux Day 2009
Massimiliano Dessì
 
PDF
MongoDB SpringFramework Meeting september 2009
Massimiliano Dessì
 
PDF
The hidden gems of Spring Security
Massimiliano Dessì
 
PDF
Spring @Aspect e @Controller
Massimiliano Dessì
 
PDF
Aspect Oriented Programming and MVC with Spring Framework
Massimiliano Dessì
 
PDF
Real Spring Aop Recipes For Your Everyday Job
Massimiliano Dessì
 
Code One 2018 maven
Massimiliano Dessì
 
When Old Meets New: Turning Maven into a High Scalable, Resource Efficient, C...
Massimiliano Dessì
 
Hacking Maven Linux day 2017
Massimiliano Dessì
 
Web Marketing Training 2014 Community Online
Massimiliano Dessì
 
Scala linux day 2012
Massimiliano Dessì
 
Three languages in thirty minutes
Massimiliano Dessì
 
MongoDB dessi-codemotion
Massimiliano Dessì
 
MongoDB Webtech conference 2010
Massimiliano Dessì
 
Spring Roo Internals Javaday IV
Massimiliano Dessì
 
Spring Roo JaxItalia09
Massimiliano Dessì
 
Jaxitalia09 Spring Best Practices
Massimiliano Dessì
 
Spring3.0 JaxItalia09
Massimiliano Dessì
 
MongoDB Scala Roma SpringFramework Meeting2009
Massimiliano Dessì
 
Scala Programming Linux Day 2009
Massimiliano Dessì
 
MongoDB SpringFramework Meeting september 2009
Massimiliano Dessì
 
The hidden gems of Spring Security
Massimiliano Dessì
 
Spring @Aspect e @Controller
Massimiliano Dessì
 
Aspect Oriented Programming and MVC with Spring Framework
Massimiliano Dessì
 
Real Spring Aop Recipes For Your Everyday Job
Massimiliano Dessì
 

Recently uploaded (20)

PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Human-centred design in online workplace learning and relationship to engagem...
Tracy Tang
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 

Docker linuxday 2015