SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Hello, Docker!
An Introduction to Docker
Michael K. Essandoh
Michael Kwesi Essandoh @mexcon_mike
● Senior Software Engineer, ANDELA
● Director, TAISE
● Technical Consultant
● Ex: Petra Trust, VasSoft, Bsystems Limited
● .NET Fanatic
Outline
● What is DevOps?
● What is Docker?
● Containers vs VM
● Advantages of Docker
● Concepts
● General Guidelines
● Honourable Mention
● Resources
● QA
● DEMO
What is DevOps?
● A set of practices that combines software development (Dev) and IT (Ops) to
shorten the systems development life cycle while delivering features, fixes,
and updates frequently.
● Combining the right tools and culture to innovate rapidly
● DevOps is a culture
○ Agile principles
○ Error tolerance
○ Post mortems
● You can’t buy DevOps
What is Docker?
● Containers
○ Decouple applications (and their environments) from operating system
○ Virtualizes user space
○ More lightweight and portable compared to HyperVisor based virtualization
○ Go to option for microservice architecture
○ Ephemeral storage by default*
● Docker
○ Development tool and runtime environment for containers
○ Released March 13, 2013
○ Runs on Linux, MacOS and Windows
○ Alternatives: lxc, rkt, containerd*
Containers vs VM
Twistlock
Advantages of Docker
● Shorten development time
● Portable
● Standardization
● Minimal resource overhead
● Isolation
● MicroService architecture
Docker Concepts
● Dockerfile
○ Set of instructions or specifications that define the
structure of a container
● Image
○ Read-only templates
○ Static specification of what a container should be at
runtime
● Registry
○ Storage and distribution of images
○ Can be private
○ Local, DockerHub, Quay, AWS ECR, Red Hat
Container Catalog etc
Twistlock
General Guidelines
● Follow the Twelve-Factor App guidelines
● Keep images as small as possible
● Databases
○ Be careful. Especially in production
○ Caches - Memcache, Redis
● Security
○ Use trusted images from trusted sources
○ Code defensively
○ Don’t run as root
Honourable Mention: Kubernetes (k8s)
● Orchestration engine
● Initial release: 7 June 2014
○ Built by Google, mid-2014
○ Handed over to CNCF
● Cluster
○ Control
○ Data
○ Workers
● Competition
○ Docker Swarm
○ Mesosphere
○ Cattle (Rancher)
○ Portainer*
● k3s
Resources
● The Twelve Factor App
● Docker Docs
● Landscape CNCF
● Gists (BlitzinBuffalo)
QA
DEMO
The End
To God Be The Glory

Weitere Àhnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.The Cloud Convergence: OpenStack and Kubernetes.
The Cloud Convergence: OpenStack and Kubernetes.
 
Gluster as Block Store in Containers
Gluster as Block Store in ContainersGluster as Block Store in Containers
Gluster as Block Store in Containers
 
OpenNebulaConf2017EU: Hyper converged infrastructure with OpenNebula and Ceph...
OpenNebulaConf2017EU: Hyper converged infrastructure with OpenNebula and Ceph...OpenNebulaConf2017EU: Hyper converged infrastructure with OpenNebula and Ceph...
OpenNebulaConf2017EU: Hyper converged infrastructure with OpenNebula and Ceph...
 
Dynomite - PerconaLive 2017
Dynomite  - PerconaLive 2017Dynomite  - PerconaLive 2017
Dynomite - PerconaLive 2017
 
State of the Container Ecosystem
State of the Container EcosystemState of the Container Ecosystem
State of the Container Ecosystem
 
Docker Cloud
Docker CloudDocker Cloud
Docker Cloud
 
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
OpenNebula Conf 2014 | Using Ceph to provide scalable storage for OpenNebula ...
 
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
OpenNebulaconf2017US: Orchestration of vMware datacenters with OpenNebula by ...
 
Cncf meetup-rook
Cncf meetup-rookCncf meetup-rook
Cncf meetup-rook
 
Cncf meetup-rook
Cncf meetup-rookCncf meetup-rook
Cncf meetup-rook
 
OpenNebula TechDay Waterloo 2015 - Hyperconvergence and OpenNebula
OpenNebula TechDay Waterloo 2015 - Hyperconvergence  and  OpenNebulaOpenNebula TechDay Waterloo 2015 - Hyperconvergence  and  OpenNebula
OpenNebula TechDay Waterloo 2015 - Hyperconvergence and OpenNebula
 
Ceph Block Devices: A Deep Dive
Ceph Block Devices: A Deep DiveCeph Block Devices: A Deep Dive
Ceph Block Devices: A Deep Dive
 
Thierry carrez openly developing open infrastructure
Thierry carrez   openly developing open infrastructureThierry carrez   openly developing open infrastructure
Thierry carrez openly developing open infrastructure
 
Using OpenStack Swift for Extreme Data Durability
 Using OpenStack Swift for Extreme Data Durability Using OpenStack Swift for Extreme Data Durability
Using OpenStack Swift for Extreme Data Durability
 
OSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo Seidel
OSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo SeidelOSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo Seidel
OSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo Seidel
 
CNCF Projects Overview
CNCF Projects OverviewCNCF Projects Overview
CNCF Projects Overview
 
Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...Deploying and managing container-based applications with OpenStack and Kubern...
Deploying and managing container-based applications with OpenStack and Kubern...
 
Containerization & Docker - Under the Hood
Containerization & Docker - Under the HoodContainerization & Docker - Under the Hood
Containerization & Docker - Under the Hood
 
Cache Tiering and Erasure Coding
Cache Tiering and Erasure CodingCache Tiering and Erasure Coding
Cache Tiering and Erasure Coding
 
Performant and Resilient Storage: The Open Source & Linux Way
Performant and Resilient Storage: The Open Source & Linux WayPerformant and Resilient Storage: The Open Source & Linux Way
Performant and Resilient Storage: The Open Source & Linux Way
 

Ähnlich wie Hello, Docker!

Scaling Open edX with Kubernetes
Scaling Open edX with KubernetesScaling Open edX with Kubernetes
Scaling Open edX with Kubernetes
Appsembler
 

Ähnlich wie Hello, Docker! (20)

Docker handons-workshop-for-charity
Docker handons-workshop-for-charityDocker handons-workshop-for-charity
Docker handons-workshop-for-charity
 
Docker up and Running For Web Developers
Docker up and Running For Web DevelopersDocker up and Running For Web Developers
Docker up and Running For Web Developers
 
Docker Up and Running for Web Developers
Docker Up and Running for Web DevelopersDocker Up and Running for Web Developers
Docker Up and Running for Web Developers
 
Introduction to Containers
Introduction to ContainersIntroduction to Containers
Introduction to Containers
 
JOSA TechTalks - Docker in Production
JOSA TechTalks - Docker in ProductionJOSA TechTalks - Docker in Production
JOSA TechTalks - Docker in Production
 
Docker introduction for Carbon IT
Docker introduction for Carbon ITDocker introduction for Carbon IT
Docker introduction for Carbon IT
 
Best Practices for Developing & Deploying Java Applications with Docker
Best Practices for Developing & Deploying Java Applications with DockerBest Practices for Developing & Deploying Java Applications with Docker
Best Practices for Developing & Deploying Java Applications with Docker
 
Kubernetes, Toolbox to fail or succeed for beginners - Demi Ben-Ari, VP R&D @...
Kubernetes, Toolbox to fail or succeed for beginners - Demi Ben-Ari, VP R&D @...Kubernetes, Toolbox to fail or succeed for beginners - Demi Ben-Ari, VP R&D @...
Kubernetes, Toolbox to fail or succeed for beginners - Demi Ben-Ari, VP R&D @...
 
Monitoring docker: from zero to Azure
Monitoring docker: from zero to AzureMonitoring docker: from zero to Azure
Monitoring docker: from zero to Azure
 
Getting started with docker (2017)
Getting started with docker (2017)Getting started with docker (2017)
Getting started with docker (2017)
 
Docker for dev
Docker for devDocker for dev
Docker for dev
 
Getting started with docker
Getting started with dockerGetting started with docker
Getting started with docker
 
Azure ai on premises with docker
Azure ai on premises with  dockerAzure ai on premises with  docker
Azure ai on premises with docker
 
Kubernetes is all you need
Kubernetes is all you needKubernetes is all you need
Kubernetes is all you need
 
Speed & Agility of Innovation with Docker & Kubernetes
Speed & Agility of Innovation with Docker & KubernetesSpeed & Agility of Innovation with Docker & Kubernetes
Speed & Agility of Innovation with Docker & Kubernetes
 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with docker
 
Introduction to docker and docker compose
Introduction to docker and docker composeIntroduction to docker and docker compose
Introduction to docker and docker compose
 
Scaling Open edX with Kubernetes
Scaling Open edX with KubernetesScaling Open edX with Kubernetes
Scaling Open edX with Kubernetes
 
Intro 2 docker
Intro 2 dockerIntro 2 docker
Intro 2 docker
 
A curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & KubernetesA curtain-raiser to the container world Docker & Kubernetes
A curtain-raiser to the container world Docker & Kubernetes
 

KĂŒrzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

KĂŒrzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls đŸ„° 8617370543 Service Offer VIP Hot Model
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Hello, Docker!

  • 1. Hello, Docker! An Introduction to Docker Michael K. Essandoh
  • 2. Michael Kwesi Essandoh @mexcon_mike ● Senior Software Engineer, ANDELA ● Director, TAISE ● Technical Consultant ● Ex: Petra Trust, VasSoft, Bsystems Limited ● .NET Fanatic
  • 3. Outline ● What is DevOps? ● What is Docker? ● Containers vs VM ● Advantages of Docker ● Concepts ● General Guidelines ● Honourable Mention ● Resources ● QA ● DEMO
  • 4. What is DevOps? ● A set of practices that combines software development (Dev) and IT (Ops) to shorten the systems development life cycle while delivering features, fixes, and updates frequently. ● Combining the right tools and culture to innovate rapidly ● DevOps is a culture ○ Agile principles ○ Error tolerance ○ Post mortems ● You can’t buy DevOps
  • 5. What is Docker? ● Containers ○ Decouple applications (and their environments) from operating system ○ Virtualizes user space ○ More lightweight and portable compared to HyperVisor based virtualization ○ Go to option for microservice architecture ○ Ephemeral storage by default* ● Docker ○ Development tool and runtime environment for containers ○ Released March 13, 2013 ○ Runs on Linux, MacOS and Windows ○ Alternatives: lxc, rkt, containerd*
  • 7. Advantages of Docker ● Shorten development time ● Portable ● Standardization ● Minimal resource overhead ● Isolation ● MicroService architecture
  • 8. Docker Concepts ● Dockerfile ○ Set of instructions or specifications that define the structure of a container ● Image ○ Read-only templates ○ Static specification of what a container should be at runtime ● Registry ○ Storage and distribution of images ○ Can be private ○ Local, DockerHub, Quay, AWS ECR, Red Hat Container Catalog etc Twistlock
  • 9. General Guidelines ● Follow the Twelve-Factor App guidelines ● Keep images as small as possible ● Databases ○ Be careful. Especially in production ○ Caches - Memcache, Redis ● Security ○ Use trusted images from trusted sources ○ Code defensively ○ Don’t run as root
  • 10. Honourable Mention: Kubernetes (k8s) ● Orchestration engine ● Initial release: 7 June 2014 ○ Built by Google, mid-2014 ○ Handed over to CNCF ● Cluster ○ Control ○ Data ○ Workers ● Competition ○ Docker Swarm ○ Mesosphere ○ Cattle (Rancher) ○ Portainer* ● k3s
  • 11. Resources ● The Twelve Factor App ● Docker Docs ● Landscape CNCF ● Gists (BlitzinBuffalo)
  • 12. QA
  • 13. DEMO
  • 14. The End To God Be The Glory

Hinweis der Redaktion

  1. Petra Trust - great technology team.
  2. Can be implemented with monolithic systems
  3. Docker needs little resources Isolated application environments including networks
  4. Imageception*
  5. 12 Factor Guidelines: Store configurations in env vars Keep environments as similar as possible Can be disposed easily Although there are projects like KubeDB, be careful when relying on k8s. Use k8s for custom clustering (i.e. Citus - PostgreSQL)
  6. Founders: Joe Beda, Brendan Burns and Craig McLuckie K8s - manage, deploy, monitor, scale containers Cluster is resource intensive K3s - strips out unnecessary items
  7. Amend from questions if necessary