Ge#ng	
  Started	
  with	
  Docker	
  
	
  
Tuna	
  –	
  www.meetup.org/Docker-­‐Hanoi	
  
Who	
  am	
  I	
  
•  FPT-­‐So=ware	
  Solu?on	
  Board	
  
– Cloud	
  Solu?on	
  Architect	
  
•  Apache	
  So=ware	
  Founda?on	
  
– CommiDer@Apache	
  CloudStack	
  
– PMC@Apache	
  Stratos	
  
•  Docker-­‐Hanoi	
  group	
  
– Organizer	
  
– hDp://www.meetup.com/Docker-­‐Hanoi/	
  
March	
  20,	
  2013:	
  Docker	
  Launches	
  
1300+
Contributors
Thank You to the Amazing Global Meetup
Community
185
Groups
58
Countries
*A small subset of the 100s who are using and/or writing about us
Thanks to those above for talking about their experiences at previous and current
DockerCon events
Users	
  
Ecosystem	
  
Dev Tools
Official Repositories
Operating Systems
Big Data
Service Discovery
Build / Continuous Integration
Configuration Management
Consulting
&Training
Management
Storage
Clustering & Scheduling
Networking
Infrastructure & Service Providers
Security
Monitoring & Logging
Some	
  Growth	
  Sta?s?cs	
  
June 2014 June 2015 Growth
Contributors 460 1,300 183%
Projects on GitHub 6,500 40,000 515%
Docker Job Openings
(Indeed)
2,500 43,000 1720%
Dockerized Applications 14,500 150,000 934%
Boot2Docker Downloads 225,00
0
3,500,000 1,456%
Container Downloads 2,750,0
00
500,000,000 18,082%
Static
Website
Web
Front End
Backgrou
nd
Workers
Analytics
DB
Queue
API
Endpoint
Distributed	
  Applica?ons	
  Solu?on	
  
VM
ServerLaptop Data Center
User DB
Cluster Cloud
DR/HA
Development Test & QA Production Scale Out
Docker@Vietnam	
  
hDp://www.meetup.com/Docker-­‐Hanoi/	
  
Summary	
  
•  Terminologies	
  
–  Images	
  
–  Containers	
  
–  Dockerfile	
  
–  Docker	
  engine	
  
–  Docker	
  registry	
  (hub/repository)	
  
•  Characteris?cs	
  
–  Lightweight	
  
–  Self-­‐sufficient	
  
–  Portable	
  
Interact	
  with	
  Docker	
  
•  RESTful	
  API	
  
– hDps://docs.docker.com/reference/api/
docker_remote_api/	
  
•  Docker	
  CLI	
  
–  docker	
  build	
   	
  #	
  build	
  an	
  image	
  from	
  a	
  Dockerfile	
  
–  docker	
  image 	
  #	
  list	
  all	
  images	
  on	
  a	
  Docker	
  host	
  
–  docker	
  run	
   	
  #	
  run	
  an	
  image	
  
–  docker	
  ps 	
   	
  #	
  list	
  all	
  running	
  and	
  stopped	
  containers	
  
–  docker	
  rm 	
   	
  #	
  remove	
  a	
  container	
  
–  docker	
  rmi	
   	
  #	
  remove	
  a	
  image	
  
Hand-­‐on	
  ?me	
  
Wifi:	
  FAI-­‐Students	
  
Pass:	
  12345	
  
Lab:	
  hDps://52.27.83.220:8888/tree	
  
Password:	
  dockerhanoi@demo	
  
	
  
hDp://docs.docker.com/linux/started/	
  

DockerDay2015: Getting started with Docker

  • 1.
    Ge#ng  Started  with  Docker     Tuna  –  www.meetup.org/Docker-­‐Hanoi  
  • 2.
    Who  am  I   •  FPT-­‐So=ware  Solu?on  Board   – Cloud  Solu?on  Architect   •  Apache  So=ware  Founda?on   – CommiDer@Apache  CloudStack   – PMC@Apache  Stratos   •  Docker-­‐Hanoi  group   – Organizer   – hDp://www.meetup.com/Docker-­‐Hanoi/  
  • 3.
    March  20,  2013:  Docker  Launches  
  • 4.
  • 5.
    Thank You tothe Amazing Global Meetup Community 185 Groups 58 Countries
  • 6.
    *A small subsetof the 100s who are using and/or writing about us Thanks to those above for talking about their experiences at previous and current DockerCon events Users  
  • 7.
    Ecosystem   Dev Tools OfficialRepositories Operating Systems Big Data Service Discovery Build / Continuous Integration Configuration Management Consulting &Training Management Storage Clustering & Scheduling Networking Infrastructure & Service Providers Security Monitoring & Logging
  • 8.
    Some  Growth  Sta?s?cs   June 2014 June 2015 Growth Contributors 460 1,300 183% Projects on GitHub 6,500 40,000 515% Docker Job Openings (Indeed) 2,500 43,000 1720% Dockerized Applications 14,500 150,000 934% Boot2Docker Downloads 225,00 0 3,500,000 1,456% Container Downloads 2,750,0 00 500,000,000 18,082%
  • 9.
    Static Website Web Front End Backgrou nd Workers Analytics DB Queue API Endpoint Distributed  Applica?ons  Solu?on   VM ServerLaptop Data Center User DB Cluster Cloud DR/HA Development Test & QA Production Scale Out
  • 10.
  • 16.
    Summary   •  Terminologies   –  Images   –  Containers   –  Dockerfile   –  Docker  engine   –  Docker  registry  (hub/repository)   •  Characteris?cs   –  Lightweight   –  Self-­‐sufficient   –  Portable  
  • 17.
    Interact  with  Docker   •  RESTful  API   – hDps://docs.docker.com/reference/api/ docker_remote_api/   •  Docker  CLI   –  docker  build    #  build  an  image  from  a  Dockerfile   –  docker  image  #  list  all  images  on  a  Docker  host   –  docker  run    #  run  an  image   –  docker  ps    #  list  all  running  and  stopped  containers   –  docker  rm    #  remove  a  container   –  docker  rmi    #  remove  a  image  
  • 18.
    Hand-­‐on  ?me   Wifi:  FAI-­‐Students   Pass:  12345   Lab:  hDps://52.27.83.220:8888/tree   Password:  dockerhanoi@demo     hDp://docs.docker.com/linux/started/