SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerAditya Konarde
 
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
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
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
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginnersJuneyoung Oh
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT CampusAjeet Singh Raina
 
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!
 
Why Docker
Why DockerWhy Docker
Why DockerdotCloud
 
Introduction to Docker Compose
Introduction to Docker ComposeIntroduction to Docker Compose
Introduction to Docker ComposeAjeet Singh Raina
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017Docker, Inc.
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...Simplilearn
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionPeng Xiao
 

Was ist angesagt? (20)

Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to 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
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
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
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginners
 
Docker basics
Docker basicsDocker basics
Docker basics
 
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 in real life
Docker in real lifeDocker in real life
Docker in real life
 
Introduction to Docker - VIT Campus
Introduction to Docker - VIT CampusIntroduction to Docker - VIT Campus
Introduction to Docker - VIT Campus
 
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...
 
Why Docker
Why DockerWhy Docker
Why Docker
 
Introduction to Docker Compose
Introduction to Docker ComposeIntroduction to Docker Compose
Introduction to Docker Compose
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017
 
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
What Is A Docker Container? | Docker Container Tutorial For Beginners| Docker...
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Dockerfile
Dockerfile Dockerfile
Dockerfile
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 
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
 
Docker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCSDocker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCSFrank Munz
 

Ähnlich wie 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
 
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
 
Docker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCSDocker from A to Z, including Swarm and OCCS
Docker from A to Z, including Swarm and OCCS
 

Kürzlich hochgeladen

Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesDavid Newbury
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsSafe Software
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxMatsuo Lab
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Adtran
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding TeamAdam Moalla
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdfPedro Manuel
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-pyJamie (Taka) Wang
 

Kürzlich hochgeladen (20)

Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
Linked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond OntologiesLinked Data in Production: Moving Beyond Ontologies
Linked Data in Production: Moving Beyond Ontologies
 
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration WorkflowsIgniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Introduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptxIntroduction to Matsuo Laboratory (ENG).pptx
Introduction to Matsuo Laboratory (ENG).pptx
 
Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™Meet the new FSP 3000 M-Flex800™
Meet the new FSP 3000 M-Flex800™
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
20230104 - machine vision
20230104 - machine vision20230104 - machine vision
20230104 - machine vision
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team9 Steps For Building Winning Founding Team
9 Steps For Building Winning Founding Team
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
Nanopower In Semiconductor Industry.pdf
Nanopower  In Semiconductor Industry.pdfNanopower  In Semiconductor Industry.pdf
Nanopower In Semiconductor Industry.pdf
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
201610817 - edge part1
201610817 - edge part1201610817 - edge part1
201610817 - edge part1
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
20230202 - Introduction to tis-py
20230202 - Introduction to tis-py20230202 - Introduction to tis-py
20230202 - Introduction to tis-py
 

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