SlideShare uma empresa Scribd logo
1 de 22
Container based virtualization
Where we are going…
• Basics
• Advanced (If we have time)
• Practical Use and Integration
Basics
• Docker allows you to package an application with all of its
dependencies into a standardized unit for software
development.
• Containers running on a single machine all share the
same operating system kernel so they start instantly and
make more efficient use of RAM. Images are constructed
from layered filesystems so they can share common files,
making disk usage and image downloads much more
efficient.
Basics
• Each virtual machine includes the application,
the necessary binaries and libraries and an
entire guest operating system
Virtual Machines
Basics
• Docker Shares Hardware and Kernel at a
minimum, then each Container is run as an
isolated process in userspace.
• Individual Containers can also share an Image
to further optimize resource usage.
• “Containers are to Virtual Machines as threads
are to processes.”
Docker Containers
Basics
• An Image is a read only package made of 1 or
more layers that contains the OS filesystem,
binaries, and resources to run your
application.
• A Container is a R/W image that is running on
the docker daemon.
• When an image is run a writable layer is
added to the filesystem to make it R/W.
Images vs. Containers
Architecture
• The Docker Registry is a repository of Images.
• Docker Hub is a Registry of Public and Private Images.
• Docker Registry can also be hosted on private servers (often called Docker Trusted Registry).
Docker Registry
Architecture
• At the core of the Docker platform is Docker Engine, a lightweight runtime and robust tooling that
builds and runs your Docker containers. Docker Engine runs on Linux to create the operating
environment for your distributed applications. The in-host daemon communicates with the Docker
client to execute commands to build, ship and run containers.
Docker Engine (daemon)
Architecture
• The Docker Client is a tool to manage images and containers running on a docker
daemon. It is usually installed locally on the server running the daemon. It can also be on
a remote computer.
Docker Client
Architecture
DEMO!?
Architecture
• Distributed applications consist of many small
applications that work together. Docker
transforms these applications into individual
containers that are linked together. Instead of
having to build, run and manage each individual
container, Docker Compose allows you to define
your multi-container application with all of its
dependencies in a single file, then spin your
application up in a single command. Your
application’s structure and configuration are held
in a single place, which makes spinning up
applications simple and repeatable everywhere.
Docker Compose
Architecture
• Docker Machine automatically sets up
Docker on your computer, on cloud
providers, and inside your data center.
Docker Machine provisions the hosts,
installs Docker Engine on them, and then
configures the Docker client to talk to the
Docker Engines.
Docker Machine
Architecture
• The nature of distributed applications
requires compute resources that are also
distributed. Docker Swarm provides
native clustering capabilities to turn a
group of Docker engines into a single,
virtual Docker Engine. With these pooled
resources, you can scale out your
application as if it were running on a
single, huge computer.
Docker Swarm
Architecture
• Docker Universal Control Plane (UCP) is
an enterprise on premise solution that
enables IT operations teams to deploy
and manage their Dockerized applications
in production, while giving developers the
agility and portability they need, all from
within the enterprise firewall.
Docker Universal Control Plane
What does this all mean
practically?
Currently
• For testing and dev a server is built
• the dev then builds out the needed applications config, and loads the code
• repeat for production on a cloud server…or hand the code off to a client
• months or years later os updates and app updates require manual
maintenance and upkeep, server replacement, etc…
The Future
• Developers create the Docker image to quickly automate the process.
• The docker image can be tested on dev’s local computers or on internal
servers with a single command to run the Docker image or automated by
Jenkins.
• When the app is ready for primetime a simple change on the run
command or automated build process can move it from a local computer,
to a local server room, or up into a cloud hosting platform.
How is this possible?
• Filters - Constraints are key/value pairs associated to particular nodes.
You can see them as node tags.
• Affinity - You use an --affinity:<filter> to create “attractions” between
containers.
• Strategy - the scheduler’s strategy for ranking nodes
Integration
• Docker integrates great with Jenkins CI to create an
automated build environment to pull code from source,
update docker images, and to run the container.
• Xen Orchestra support management of Docker Nodes and
Containers directly from the web interface.
• XenServer supports native management and integration of
Docker Hosts and Containers from XenCenter.
• Docker Engine can integrate directly with Rackspace and
other cloud providers to manage your cloud and local
Docker hosts from a single location.
• CoreOS is an extremely light weight, stable, and secure
platform for running Docker containers.
The Reality
• Docker and containerization is here but is still young.
• The automation and management of large easily
scalable application is in infancy and requires a lot of
work and many technologies to make it completely
automated.
• But, if you’re not running google, your application are
relatively small and don’t need to build a production
architecture yourself.
Resources
• https://github.com/wsargent/docker-cheat-sheet
• https://docs.docker.com/
• https://training.docker.com/self-paced-training
• http://xenserver.org/partners/docker.html
• http://thenewstack.io/ebookseries/
• https://coreos.com/os/docs/latest/getting-started-with-docker.html
• http://xen-orchestra.com/blog/docker-support-in-xenserver-the-ultimate-guide/

Mais conteúdo relacionado

Mais procurados

Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep DiveWill Kinard
 
Docker Basic to Advance
Docker Basic to AdvanceDocker Basic to Advance
Docker Basic to AdvanceParas Jain
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containersPatrick Pierson
 
Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!Steve Wilson
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Building microservices with docker
Building microservices with dockerBuilding microservices with docker
Building microservices with dockerRoman Melnyk
 
Docker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and ContainersDocker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and ContainersYajushi Srivastava
 
Dockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekDockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekwiTTyMinds1
 
Introduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker CaptainIntroduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker CaptainAjeet Singh Raina
 
Docker introduction
Docker introductionDocker introduction
Docker introductionGourav Varma
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017Docker, Inc.
 
Demystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data ScientistsDemystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data ScientistsDr Ganesh Iyer
 
containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )Imo Inyang
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013dotCloud
 

Mais procurados (19)

Docker Container Introduction
Docker Container IntroductionDocker Container Introduction
Docker Container Introduction
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Docker Basic to Advance
Docker Basic to AdvanceDocker Basic to Advance
Docker Basic to Advance
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
 
Abc of docker
Abc of dockerAbc of docker
Abc of docker
 
Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Building microservices with docker
Building microservices with dockerBuilding microservices with docker
Building microservices with docker
 
Docker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and ContainersDocker 101 : Introduction to Docker and Containers
Docker 101 : Introduction to Docker and Containers
 
Docker
DockerDocker
Docker
 
Dockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to GeekDockers & kubernetes detailed - Beginners to Geek
Dockers & kubernetes detailed - Beginners to Geek
 
Docker Basics
Docker BasicsDocker Basics
Docker Basics
 
Introduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker CaptainIntroduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker Captain
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017
 
What is Docker?
What is Docker?What is Docker?
What is Docker?
 
Demystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data ScientistsDemystifying Containerization Principles for Data Scientists
Demystifying Containerization Principles for Data Scientists
 
containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )containers and virtualization tools ( Docker )
containers and virtualization tools ( Docker )
 
Intro Docker october 2013
Intro Docker october 2013Intro Docker october 2013
Intro Docker october 2013
 

Semelhante a Docker Overview

Docker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldDocker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldzekeLabs Technologies
 
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 & KuberneteszekeLabs Technologies
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
An Introduction To Docker
An Introduction To  DockerAn Introduction To  Docker
An Introduction To DockerGabriella Davis
 
Week 8 lecture material
Week 8 lecture materialWeek 8 lecture material
Week 8 lecture materialAnkit Gupta
 
Docker - Frank Maounis
Docker - Frank MaounisDocker - Frank Maounis
Docker - Frank MaounisFrank Maounis
 
Intro to docker and kubernetes
Intro to docker and kubernetesIntro to docker and kubernetes
Intro to docker and kubernetesMohit Chhabra
 
Introduction to Dockers.pptx
Introduction to Dockers.pptxIntroduction to Dockers.pptx
Introduction to Dockers.pptxHassanRaza40719
 
Introduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUGIntroduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUGAjeet Singh Raina
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Kalkey
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Kubernetes Certification Training Course | Docker and Kubernetes Training
Kubernetes Certification Training Course |  Docker and Kubernetes TrainingKubernetes Certification Training Course |  Docker and Kubernetes Training
Kubernetes Certification Training Course | Docker and Kubernetes Trainingnavyatejavisualpath
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deploymentjavaonfly
 
Cloud technology with practical knowledge
Cloud technology with practical knowledgeCloud technology with practical knowledge
Cloud technology with practical knowledgeAnshikaNigam8
 
Introduction to Dockers and containers
Introduction to Dockers and containers Introduction to Dockers and containers
Introduction to Dockers and containers Sri Padaraj M S
 
CONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxCONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxSanjuGamesphere
 

Semelhante a Docker Overview (20)

Docker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container worldDocker - A curtain raiser to the Container world
Docker - A curtain raiser to the Container world
 
Docker slides
Docker slidesDocker slides
Docker slides
 
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
 
Docker container
Docker containerDocker container
Docker container
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
An Introduction To Docker
An Introduction To  DockerAn Introduction To  Docker
An Introduction To Docker
 
Week 8 lecture material
Week 8 lecture materialWeek 8 lecture material
Week 8 lecture material
 
Docker - Frank Maounis
Docker - Frank MaounisDocker - Frank Maounis
Docker - Frank Maounis
 
Intro to docker and kubernetes
Intro to docker and kubernetesIntro to docker and kubernetes
Intro to docker and kubernetes
 
Introduction to Dockers.pptx
Introduction to Dockers.pptxIntroduction to Dockers.pptx
Introduction to Dockers.pptx
 
Introduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUGIntroduction to Docker - IndiaOpsUG
Introduction to Docker - IndiaOpsUG
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Kubernetes Certification Training Course | Docker and Kubernetes Training
Kubernetes Certification Training Course |  Docker and Kubernetes TrainingKubernetes Certification Training Course |  Docker and Kubernetes Training
Kubernetes Certification Training Course | Docker and Kubernetes Training
 
Docker - Portable Deployment
Docker - Portable DeploymentDocker - Portable Deployment
Docker - Portable Deployment
 
Cloud technology with practical knowledge
Cloud technology with practical knowledgeCloud technology with practical knowledge
Cloud technology with practical knowledge
 
Containers and Docker
Containers and DockerContainers and Docker
Containers and Docker
 
Introduction to Dockers and containers
Introduction to Dockers and containers Introduction to Dockers and containers
Introduction to Dockers and containers
 
CONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptxCONTAINERIZATION WITH DOCKER .pptx
CONTAINERIZATION WITH DOCKER .pptx
 

Último

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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 FresherRemote DBA Services
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Último (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 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
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Docker Overview

  • 2. Where we are going… • Basics • Advanced (If we have time) • Practical Use and Integration
  • 3. Basics • Docker allows you to package an application with all of its dependencies into a standardized unit for software development. • Containers running on a single machine all share the same operating system kernel so they start instantly and make more efficient use of RAM. Images are constructed from layered filesystems so they can share common files, making disk usage and image downloads much more efficient.
  • 4. Basics • Each virtual machine includes the application, the necessary binaries and libraries and an entire guest operating system Virtual Machines
  • 5. Basics • Docker Shares Hardware and Kernel at a minimum, then each Container is run as an isolated process in userspace. • Individual Containers can also share an Image to further optimize resource usage. • “Containers are to Virtual Machines as threads are to processes.” Docker Containers
  • 6. Basics • An Image is a read only package made of 1 or more layers that contains the OS filesystem, binaries, and resources to run your application. • A Container is a R/W image that is running on the docker daemon. • When an image is run a writable layer is added to the filesystem to make it R/W. Images vs. Containers
  • 7. Architecture • The Docker Registry is a repository of Images. • Docker Hub is a Registry of Public and Private Images. • Docker Registry can also be hosted on private servers (often called Docker Trusted Registry). Docker Registry
  • 8. Architecture • At the core of the Docker platform is Docker Engine, a lightweight runtime and robust tooling that builds and runs your Docker containers. Docker Engine runs on Linux to create the operating environment for your distributed applications. The in-host daemon communicates with the Docker client to execute commands to build, ship and run containers. Docker Engine (daemon)
  • 9. Architecture • The Docker Client is a tool to manage images and containers running on a docker daemon. It is usually installed locally on the server running the daemon. It can also be on a remote computer. Docker Client
  • 12. Architecture • Distributed applications consist of many small applications that work together. Docker transforms these applications into individual containers that are linked together. Instead of having to build, run and manage each individual container, Docker Compose allows you to define your multi-container application with all of its dependencies in a single file, then spin your application up in a single command. Your application’s structure and configuration are held in a single place, which makes spinning up applications simple and repeatable everywhere. Docker Compose
  • 13. Architecture • Docker Machine automatically sets up Docker on your computer, on cloud providers, and inside your data center. Docker Machine provisions the hosts, installs Docker Engine on them, and then configures the Docker client to talk to the Docker Engines. Docker Machine
  • 14. Architecture • The nature of distributed applications requires compute resources that are also distributed. Docker Swarm provides native clustering capabilities to turn a group of Docker engines into a single, virtual Docker Engine. With these pooled resources, you can scale out your application as if it were running on a single, huge computer. Docker Swarm
  • 15. Architecture • Docker Universal Control Plane (UCP) is an enterprise on premise solution that enables IT operations teams to deploy and manage their Dockerized applications in production, while giving developers the agility and portability they need, all from within the enterprise firewall. Docker Universal Control Plane
  • 16. What does this all mean practically?
  • 17. Currently • For testing and dev a server is built • the dev then builds out the needed applications config, and loads the code • repeat for production on a cloud server…or hand the code off to a client • months or years later os updates and app updates require manual maintenance and upkeep, server replacement, etc…
  • 18. The Future • Developers create the Docker image to quickly automate the process. • The docker image can be tested on dev’s local computers or on internal servers with a single command to run the Docker image or automated by Jenkins. • When the app is ready for primetime a simple change on the run command or automated build process can move it from a local computer, to a local server room, or up into a cloud hosting platform.
  • 19. How is this possible? • Filters - Constraints are key/value pairs associated to particular nodes. You can see them as node tags. • Affinity - You use an --affinity:<filter> to create “attractions” between containers. • Strategy - the scheduler’s strategy for ranking nodes
  • 20. Integration • Docker integrates great with Jenkins CI to create an automated build environment to pull code from source, update docker images, and to run the container. • Xen Orchestra support management of Docker Nodes and Containers directly from the web interface. • XenServer supports native management and integration of Docker Hosts and Containers from XenCenter. • Docker Engine can integrate directly with Rackspace and other cloud providers to manage your cloud and local Docker hosts from a single location. • CoreOS is an extremely light weight, stable, and secure platform for running Docker containers.
  • 21. The Reality • Docker and containerization is here but is still young. • The automation and management of large easily scalable application is in infancy and requires a lot of work and many technologies to make it completely automated. • But, if you’re not running google, your application are relatively small and don’t need to build a production architecture yourself.
  • 22. Resources • https://github.com/wsargent/docker-cheat-sheet • https://docs.docker.com/ • https://training.docker.com/self-paced-training • http://xenserver.org/partners/docker.html • http://thenewstack.io/ebookseries/ • https://coreos.com/os/docs/latest/getting-started-with-docker.html • http://xen-orchestra.com/blog/docker-support-in-xenserver-the-ultimate-guide/

Notas do Editor

  1. Available tools - Docker Compose, Dockerfile, JenkinsCI.
  2. Docker Swarm - filters - Port, storage, node, OS, kernel Affinity - port, image, label, soft affinities