Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
An open platform for distributed applications for developers and sysadmins
Una piattaforma open per sviluppatori e sysadmi...
2015
Cos’è un’applicazione?
OS Base
OS Custom
Binary
Library
Source
Application
Linux Debian, Ubuntu, CentOS, ecc.
Updates...
2015
Jack
SysAdmin
Bob
Developer
JoeDeveloper
OS Base
OS Custom
Binary
Library
Source
Application
MyApp 1.0
OS Base
OS Cus...
2015
Jack
SysAdmin
OS Base
OS Custom
Binary
Library
Source
Application
OS Base
OS Custom
Binary
Library
Source
Application...
2015
Jack
SysAdmin
Bob
Developer
JoeDeveloper
OS Base
OS Custom
Binary
Library
Source
Application
MyApp 1.2
OS Base
OS Cus...
2015
From stack to image
OS Base
OS Custom
Binary
Library
Source
Application
OS Base
OS Custom
Binary
Library
Source
Appli...
2015
Jack
SysAdmin
Bob
Developer
JoeDeveloper
OS Base
OS Custom
Binary
Library
Source
Application
DevOps
OS Base
OS Custom...
2015Jack
SysAdmin
OS Base
OS Custom
Binary
Library
Source
Application
OS Base
OS Custom
Binary
Library
Source
Application
...
2015
Jack
SysAdmin
Bob
Developer
JoeDeveloper
OS Base
OS Custom
Binary
Library
Source
Application
Centralized
Public or Pr...
2015
Container
IS NOT
a Virtual Machine
2015
Docker ContainerVirtual Machine
HostOS
Kernel
system calls
Kernel
Kernel
Guest OS
/usr
/bin
/var
/etc
Guest OS
/usr
/...
2015
Performance
RAM
CPU
I/O
100%
100%
100%
RAM
CPU
I/O
80%
65%
50%
Docker ContainerVirtual Machine
2015
Image Size (OS Stack:): 1GB
Application Size: 100MB
4 Running Applications: 1,4 GB
Image Size (OS Stack): 1GB
Applica...
2015
OS Base
OS Custom
Binary
Library
AuFS
Source
Application
Read Only
Read / Write
Layered Filesystem
Container
2015
Layered Filesystem
AuFS
Image 1.0
Container
Add GIT
Image 1.1
Image 1.0
Add Apache
Container
Image 1.0
Container
Imag...
2015
Cos’è Docker?
• Packaging System

Creazione e gestione delle immagini
• Container Engine

Ambienti up & running logic...
2015
Open Platform
• Linux Support only
• Apache License / Free to use
• Open Source / Github
2015
Packaging System
Image Add Apache Image
Pull Image
Run Container
Modify Container
Commit
Push Image
2015
Container Engine
Linux Server (host)
192.168.1.1
Apache n1
172.0.0.16
MySQL Master
172.0.0.18
Apache n1
172.0.0.17 My...
2015
Container Engine
Apache n1
Apache n2
Internet
MySQL
Master
MySQL
Slave
Memcached
2015
Container Repository
hub.docker.com
2015
Thanks!
The End
www.particles.io
Upcoming SlideShare
Loading in …5
×

Docker Containers - Talk Linux Day 2015

711 views

Published on

Overview sui Docker Container durante il Linux Day 2015.
Cosa sono i Docker container?
A cosa servono?
Come funzionano?
A cura di Fabio Ferrari di particles.io

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Docker Containers - Talk Linux Day 2015

  1. 1. An open platform for distributed applications for developers and sysadmins Una piattaforma open per sviluppatori e sysadmins per la distribuzione delle applicazioni 2015
  2. 2. 2015 Cos’è un’applicazione? OS Base OS Custom Binary Library Source Application Linux Debian, Ubuntu, CentOS, ecc. Updates, Packages Apache, JVM, Ruby, Perl, PHP, Python, cURL Git, Subversion, Files Running Application or Service libjpeg, libxml, ImageMagick, libGeoIP, etc.
  3. 3. 2015 Jack SysAdmin Bob Developer JoeDeveloper OS Base OS Custom Binary Library Source Application MyApp 1.0 OS Base OS Custom Binary Library Source Application MyApp 1.1 OS Base OS Custom Binary Library Source Application DevOps
  4. 4. 2015 Jack SysAdmin OS Base OS Custom Binary Library Source Application OS Base OS Custom Binary Library Source Application OS Base OS Custom Binary Library Source Application Infrastructures
  5. 5. 2015 Jack SysAdmin Bob Developer JoeDeveloper OS Base OS Custom Binary Library Source Application MyApp 1.2 OS Base OS Custom Source Application MyApp 1.2 OS Base OS Custom Binary Library Source Application Updates Binary LibraryX X
  6. 6. 2015 From stack to image OS Base OS Custom Binary Library Source Application OS Base OS Custom Binary Library Source Application
  7. 7. 2015 Jack SysAdmin Bob Developer JoeDeveloper OS Base OS Custom Binary Library Source Application DevOps OS Base OS Custom Binary Library Source Application OS Base OS Custom Binary Library Source Application
  8. 8. 2015Jack SysAdmin OS Base OS Custom Binary Library Source Application OS Base OS Custom Binary Library Source Application OS Base OS Custom Binary Library Source Application
  9. 9. 2015 Jack SysAdmin Bob Developer JoeDeveloper OS Base OS Custom Binary Library Source Application Centralized Public or Private Repository
  10. 10. 2015 Container IS NOT a Virtual Machine
  11. 11. 2015 Docker ContainerVirtual Machine HostOS Kernel system calls Kernel Kernel Guest OS /usr /bin /var /etc Guest OS /usr /bin /var /etc system calls Hypervisor Hardware Host OS /usr /bin /var /etc Kernel Guest OS /usr /bin /var /etc Guest OS /usr /bin /var /etc system calls Hardware Overhead
  12. 12. 2015 Performance RAM CPU I/O 100% 100% 100% RAM CPU I/O 80% 65% 50% Docker ContainerVirtual Machine
  13. 13. 2015 Image Size (OS Stack:): 1GB Application Size: 100MB 4 Running Applications: 1,4 GB Image Size (OS Stack): 1GB Application Size: 100MB 4 Running Applications: 4,4 GB Size OS APP OS APP OS APP OS APP Virtual Machine OS APP APP APP APP Docker Container
  14. 14. 2015 OS Base OS Custom Binary Library AuFS Source Application Read Only Read / Write Layered Filesystem Container
  15. 15. 2015 Layered Filesystem AuFS Image 1.0 Container Add GIT Image 1.1 Image 1.0 Add Apache Container Image 1.0 Container Image 1.1 Image 1.2 Add Source
  16. 16. 2015 Cos’è Docker? • Packaging System
 Creazione e gestione delle immagini • Container Engine
 Ambienti up & running logicamente separati • Container Repository
 Push & Pull delle immagini e controllo di versione
  17. 17. 2015 Open Platform • Linux Support only • Apache License / Free to use • Open Source / Github
  18. 18. 2015 Packaging System Image Add Apache Image Pull Image Run Container Modify Container Commit Push Image
  19. 19. 2015 Container Engine Linux Server (host) 192.168.1.1 Apache n1 172.0.0.16 MySQL Master 172.0.0.18 Apache n1 172.0.0.17 MySQL Slave 172.0.0.19 Memcached 172.0.0.20
  20. 20. 2015 Container Engine Apache n1 Apache n2 Internet MySQL Master MySQL Slave Memcached
  21. 21. 2015 Container Repository hub.docker.com
  22. 22. 2015 Thanks! The End www.particles.io

×