SlideShare uma empresa Scribd logo
1 de 12
Baixar para ler offline
Docker Introduction
Tomasz Kopczynski
Sparkbit
Classic Deployments
Several environments
Dev
Test
QA
Production
Common problems:
Environments not equal to each other (OS, hardware, software versions)
Resources not utilized
Different installation procedures for each environment
www.sparkbit.pl
Docker Overview
• Lightweight containers
• Share OS with host (only user space is separate)
• Can be started in seconds
• One container = one application
• One system can be built with many containers
• Stateless containers
• Storage containers
• Can be wired together by using docker-compose
www.sparkbit.pl
Docker Architecture
• Docker container is an application with all of its dependencies
• Compared to traditional VM:
• No Hypervisor
• No Guest OS
• Containers are isolated
www.sparkbit.pl
Docker Dictionary
• Image – read only snapshot used to build a container
• Container – runtime environment built using an image
• Dockerfile – recipe on how to create an image
• Registry – public or private service for storing images
• DockerHub https://hub.docker.com/ - official public registry, like
GitHub for docker images
www.sparkbit.pl
Dockerfile
• Sample app: https://github.com/tkopczynski/spring-boot-docker
• Application should be run by a single command
• Application should run on linux
• Dockerfile:
FROM java:8 # Define base image
ADD target/spring-boot-docker.jar spring-boot-docker.jar # Copy application
into the image
CMD java –jar /spring-boot-docker.jar # Execute application
www.sparkbit.pl
Predefined Images
• DockerHub offers predefined images with many well-known
applications
• docker run -–name mysql –e MYSQL_ROOT_PASSWORD=root –d –p
3306:3306 mysql
• mysql –u root –p –H 127.0.0.1 –P 3306
• docker run –-name solr –d –p 8983:8983 –t solr
• http://localhost:8983
• And many, many more...
www.sparkbit.pl
Docker Use Cases
• Integration with continuous delivery process
• Automatically building images and pushing them to the registry
• Standardized environments
• Application doesn’t require anything outside of the container so it is always
executed in the same environment
• Microservices architecture
• Manage all microservices as docker images regardless of their technologies
and dependencies
• Scaling
• It is possible to automatically spin up new containers during traffic volume
peaks
www.sparkbit.pl
Docker in Continuous Delivery
• After commiting to version control, CI server builds an image with the
new version of the application
• Container based on that image is tested
• If tests pass, it is deployed to test, QA and production environments
with the same installation procedure
www.sparkbit.pl
Docker in Continuous Delivery
www.sparkbit.pl
Docker in The Cloud
• Some of the providers:
• Amazon EC2 Container Service
• Google Container Engine (based on Kubernetes)
• Tutum
• Docker VM Extension in Azure
www.sparkbit.pl
Summary
• Docker is a technology aimed at simplifying DevOps tasks
• Build once, ship and run anywhere principle
• Lightweight containers
• Easily integrated with continuous delivery process and cloud
infrastructure
www.sparkbit.pl

Mais conteúdo relacionado

Mais procurados

What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...Edureka!
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerLuong Vo
 
Docker: From Zero to Hero
Docker: From Zero to HeroDocker: From Zero to Hero
Docker: From Zero to Herofazalraja
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to dockerInstruqt
 
Docker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDocker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDr Ganesh Iyer
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionPeng Xiao
 
Docker introduction
Docker introductionDocker introduction
Docker introductionPhuc Nguyen
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes IntroductionPeng Xiao
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...Simplilearn
 
Introduction To Containers - Builders Day Israel
Introduction To Containers - Builders Day IsraelIntroduction To Containers - Builders Day Israel
Introduction To Containers - Builders Day IsraelAmazon Web Services
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
 
Docker intro
Docker introDocker intro
Docker introOleg Z
 
Docker 101 - Getting started
Docker 101 - Getting startedDocker 101 - Getting started
Docker 101 - Getting startedMatheus Marabesi
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker, Inc.
 

Mais procurados (20)

What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
What is Docker | Docker Tutorial for Beginners | Docker Container | DevOps To...
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Docker: From Zero to Hero
Docker: From Zero to HeroDocker: From Zero to Hero
Docker: From Zero to Hero
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Docker
DockerDocker
Docker
 
What is Docker
What is DockerWhat is Docker
What is Docker
 
Docker in real life
Docker in real lifeDocker in real life
Docker in real life
 
Docker
DockerDocker
Docker
 
Docker 101 - High level introduction to docker
Docker 101 - High level introduction to dockerDocker 101 - High level introduction to docker
Docker 101 - High level introduction to docker
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Kubernetes Introduction
Kubernetes IntroductionKubernetes Introduction
Kubernetes Introduction
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
Docker Tutorial For Beginners | What Is Docker And How It Works? | Docker Tut...
 
Introduction To Containers - Builders Day Israel
Introduction To Containers - Builders Day IsraelIntroduction To Containers - Builders Day Israel
Introduction To Containers - Builders Day Israel
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
Docker intro
Docker introDocker intro
Docker intro
 
Docker 101 - Getting started
Docker 101 - Getting startedDocker 101 - Getting started
Docker 101 - Getting started
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 

Destaque

Como leer un libro
Como leer un libroComo leer un libro
Como leer un libroKoala Arq
 
Eisner theory of comics & sequential art (1)
Eisner   theory of comics & sequential art (1)Eisner   theory of comics & sequential art (1)
Eisner theory of comics & sequential art (1)eme2525
 
Dibujo a mano alzada para arquitectos(completo)
Dibujo a mano alzada para arquitectos(completo)Dibujo a mano alzada para arquitectos(completo)
Dibujo a mano alzada para arquitectos(completo)Koala Arq
 
10 cuentos de lobos
10 cuentos de lobos10 cuentos de lobos
10 cuentos de lobosIván Trasgu
 
Andrew loomis divirtiendose con el lapiz. Uno de los libros clás
Andrew loomis   divirtiendose con el lapiz. Uno de los libros clásAndrew loomis   divirtiendose con el lapiz. Uno de los libros clás
Andrew loomis divirtiendose con el lapiz. Uno de los libros clásErik Proaño Muciño Frik
 
pensamiento y concepto
pensamiento y conceptopensamiento y concepto
pensamiento y conceptoKoala Arq
 
Resumen como leer un libro
Resumen como leer un libroResumen como leer un libro
Resumen como leer un libroStyles Jeim
 
Así se pinta con lápices de colores (José María Parramón)
Así se pinta con lápices de colores (José María Parramón)Así se pinta con lápices de colores (José María Parramón)
Así se pinta con lápices de colores (José María Parramón)Álvaro Orellana
 
Dibujo Técnico
Dibujo TécnicoDibujo Técnico
Dibujo TécnicoR. Sosa
 
Emilio freixas como dibujar el rostro humano
Emilio freixas   como dibujar el rostro humanoEmilio freixas   como dibujar el rostro humano
Emilio freixas como dibujar el rostro humanoChiaki Tsuki
 
Burne hogarth -_drawing_the_human_head
Burne hogarth -_drawing_the_human_headBurne hogarth -_drawing_the_human_head
Burne hogarth -_drawing_the_human_headErdwin
 
Escalas en dibujo
Escalas en dibujoEscalas en dibujo
Escalas en dibujolakuku
 
Andrew loomis dibujo de cabeza y manos (español)
Andrew loomis   dibujo de cabeza y manos (español)Andrew loomis   dibujo de cabeza y manos (español)
Andrew loomis dibujo de cabeza y manos (español)eme2525
 
Andrew loomis dibujo tridimensional
Andrew loomis   dibujo tridimensionalAndrew loomis   dibujo tridimensional
Andrew loomis dibujo tridimensionalIván Trasgu
 

Destaque (15)

Como leer un libro
Como leer un libroComo leer un libro
Como leer un libro
 
Eisner theory of comics & sequential art (1)
Eisner   theory of comics & sequential art (1)Eisner   theory of comics & sequential art (1)
Eisner theory of comics & sequential art (1)
 
Dibujo a mano alzada para arquitectos(completo)
Dibujo a mano alzada para arquitectos(completo)Dibujo a mano alzada para arquitectos(completo)
Dibujo a mano alzada para arquitectos(completo)
 
10 cuentos de lobos
10 cuentos de lobos10 cuentos de lobos
10 cuentos de lobos
 
Andrew loomis divirtiendose con el lapiz. Uno de los libros clás
Andrew loomis   divirtiendose con el lapiz. Uno de los libros clásAndrew loomis   divirtiendose con el lapiz. Uno de los libros clás
Andrew loomis divirtiendose con el lapiz. Uno de los libros clás
 
pensamiento y concepto
pensamiento y conceptopensamiento y concepto
pensamiento y concepto
 
Resumen como leer un libro
Resumen como leer un libroResumen como leer un libro
Resumen como leer un libro
 
Jerarquia Visual
Jerarquia VisualJerarquia Visual
Jerarquia Visual
 
Así se pinta con lápices de colores (José María Parramón)
Así se pinta con lápices de colores (José María Parramón)Así se pinta con lápices de colores (José María Parramón)
Así se pinta con lápices de colores (José María Parramón)
 
Dibujo Técnico
Dibujo TécnicoDibujo Técnico
Dibujo Técnico
 
Emilio freixas como dibujar el rostro humano
Emilio freixas   como dibujar el rostro humanoEmilio freixas   como dibujar el rostro humano
Emilio freixas como dibujar el rostro humano
 
Burne hogarth -_drawing_the_human_head
Burne hogarth -_drawing_the_human_headBurne hogarth -_drawing_the_human_head
Burne hogarth -_drawing_the_human_head
 
Escalas en dibujo
Escalas en dibujoEscalas en dibujo
Escalas en dibujo
 
Andrew loomis dibujo de cabeza y manos (español)
Andrew loomis   dibujo de cabeza y manos (español)Andrew loomis   dibujo de cabeza y manos (español)
Andrew loomis dibujo de cabeza y manos (español)
 
Andrew loomis dibujo tridimensional
Andrew loomis   dibujo tridimensionalAndrew loomis   dibujo tridimensional
Andrew loomis dibujo tridimensional
 

Semelhante a Docker Introduction

Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the Worlddamovsky
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciRajesh Kolla
 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaRoman Dembitsky
 
Docker at Djangocon 2013 | Talk by Ken Cochrane
Docker at Djangocon 2013 | Talk by Ken CochraneDocker at Djangocon 2013 | Talk by Ken Cochrane
Docker at Djangocon 2013 | Talk by Ken CochranedotCloud
 
Dockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec KraloveDockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec Kralovedamovsky
 
Virtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesVirtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesabhishek chawla
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingShailendra Chauhan
 
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...Dot Net Tricks
 
Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!Clarence Bakirtzidis
 
Docker crash course
Docker crash courseDocker crash course
Docker crash coursenispas
 

Semelhante a Docker Introduction (20)

Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the World
 
Containers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aciContainers docker-docker hub-azureacr-azure aci
Containers docker-docker hub-azureacr-azure aci
 
Docker slides
Docker slidesDocker slides
Docker slides
 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 Barcelona
 
Docker Workshop
Docker WorkshopDocker Workshop
Docker Workshop
 
Docker lxc win
Docker lxc winDocker lxc win
Docker lxc win
 
Docker.pptx
Docker.pptxDocker.pptx
Docker.pptx
 
Django and Docker
Django and DockerDjango and Docker
Django and Docker
 
Docker at Djangocon 2013 | Talk by Ken Cochrane
Docker at Djangocon 2013 | Talk by Ken CochraneDocker at Djangocon 2013 | Talk by Ken Cochrane
Docker at Djangocon 2013 | Talk by Ken Cochrane
 
Dockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec KraloveDockerize the World - presentation from Hradec Kralove
Dockerize the World - presentation from Hradec Kralove
 
Virtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesVirtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management services
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
 
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
 
Docker
DockerDocker
Docker
 
Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!
 
Containerization using docker and its applications
Containerization using docker and its applicationsContainerization using docker and its applications
Containerization using docker and its applications
 
Containerization using docker and its applications
Containerization using docker and its applicationsContainerization using docker and its applications
Containerization using docker and its applications
 
Docker
Docker Docker
Docker
 
Developer workflow with docker
Developer workflow with dockerDeveloper workflow with docker
Developer workflow with docker
 
Docker crash course
Docker crash courseDocker crash course
Docker crash course
 

Último

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
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
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
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
 
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...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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 Introduction

  • 2. Classic Deployments Several environments Dev Test QA Production Common problems: Environments not equal to each other (OS, hardware, software versions) Resources not utilized Different installation procedures for each environment www.sparkbit.pl
  • 3. Docker Overview • Lightweight containers • Share OS with host (only user space is separate) • Can be started in seconds • One container = one application • One system can be built with many containers • Stateless containers • Storage containers • Can be wired together by using docker-compose www.sparkbit.pl
  • 4. Docker Architecture • Docker container is an application with all of its dependencies • Compared to traditional VM: • No Hypervisor • No Guest OS • Containers are isolated www.sparkbit.pl
  • 5. Docker Dictionary • Image – read only snapshot used to build a container • Container – runtime environment built using an image • Dockerfile – recipe on how to create an image • Registry – public or private service for storing images • DockerHub https://hub.docker.com/ - official public registry, like GitHub for docker images www.sparkbit.pl
  • 6. Dockerfile • Sample app: https://github.com/tkopczynski/spring-boot-docker • Application should be run by a single command • Application should run on linux • Dockerfile: FROM java:8 # Define base image ADD target/spring-boot-docker.jar spring-boot-docker.jar # Copy application into the image CMD java –jar /spring-boot-docker.jar # Execute application www.sparkbit.pl
  • 7. Predefined Images • DockerHub offers predefined images with many well-known applications • docker run -–name mysql –e MYSQL_ROOT_PASSWORD=root –d –p 3306:3306 mysql • mysql –u root –p –H 127.0.0.1 –P 3306 • docker run –-name solr –d –p 8983:8983 –t solr • http://localhost:8983 • And many, many more... www.sparkbit.pl
  • 8. Docker Use Cases • Integration with continuous delivery process • Automatically building images and pushing them to the registry • Standardized environments • Application doesn’t require anything outside of the container so it is always executed in the same environment • Microservices architecture • Manage all microservices as docker images regardless of their technologies and dependencies • Scaling • It is possible to automatically spin up new containers during traffic volume peaks www.sparkbit.pl
  • 9. Docker in Continuous Delivery • After commiting to version control, CI server builds an image with the new version of the application • Container based on that image is tested • If tests pass, it is deployed to test, QA and production environments with the same installation procedure www.sparkbit.pl
  • 10. Docker in Continuous Delivery www.sparkbit.pl
  • 11. Docker in The Cloud • Some of the providers: • Amazon EC2 Container Service • Google Container Engine (based on Kubernetes) • Tutum • Docker VM Extension in Azure www.sparkbit.pl
  • 12. Summary • Docker is a technology aimed at simplifying DevOps tasks • Build once, ship and run anywhere principle • Lightweight containers • Easily integrated with continuous delivery process and cloud infrastructure www.sparkbit.pl