SlideShare a Scribd company logo
2
Most read
3
Most read
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

More Related Content

PDF
Introduction to container based virtualization with docker
PPTX
Docker intro
PDF
Introduction to Docker - VIT Campus
PPTX
Docker 101 : Introduction to Docker and Containers
PPT
Docker introduction
PDF
Docker Introduction
PDF
Introduction to Docker
PPTX
Introduction to Docker
Introduction to container based virtualization with docker
Docker intro
Introduction to Docker - VIT Campus
Docker 101 : Introduction to Docker and Containers
Docker introduction
Docker Introduction
Introduction to Docker
Introduction to Docker

What's hot (20)

PPTX
Kubernetes for Beginners: An Introductory Guide
PPTX
Getting started with Docker
PPTX
Docker introduction (1)
PPTX
Dockers and containers basics
PPTX
PPTX
Docker introduction & benefits
PDF
Introduction to docker
PPTX
Docker introduction
PDF
Introduction to Docker Compose
PPTX
What is Docker
PPTX
Introduction to Docker - 2017
PDF
(Draft) Kubernetes - A Comprehensive Overview
PDF
Docker-PPT.pdf for presentation and other
PPTX
Docker: From Zero to Hero
PDF
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
PDF
Kubernetes 101
PPTX
Docker introduction
PDF
PDF
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
PDF
How to write a Dockerfile
Kubernetes for Beginners: An Introductory Guide
Getting started with Docker
Docker introduction (1)
Dockers and containers basics
Docker introduction & benefits
Introduction to docker
Docker introduction
Introduction to Docker Compose
What is Docker
Introduction to Docker - 2017
(Draft) Kubernetes - A Comprehensive Overview
Docker-PPT.pdf for presentation and other
Docker: From Zero to Hero
Docker vs VM | | Containerization or Virtualization - The Differences | DevOp...
Kubernetes 101
Docker introduction
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
How to write a Dockerfile
Ad

Viewers also liked (15)

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

Similar to Docker Introduction (20)

PPTX
Introduction: Basic Installation Docker Container
PPTX
UNITde II - Docker-Containerization.pptx,
PPTX
Dockerize the World
PPT
Docker Devops document for short summary
PDF
Containers docker-docker hub-azureacr-azure aci
PDF
Docker slides
PPTX
DockerCon EU 2015 Barcelona
PPTX
Docker Workshop
PPTX
Docker lxc win
PPTX
Docker.pptx
PDF
Docker at Djangocon 2013 | Talk by Ken Cochrane
PDF
Django and Docker
PPTX
Dockerize the World - presentation from Hradec Kralove
PPTX
Virtualization, Containers, Docker and scalable container management services
PDF
Introduction to Docker | Docker and Kubernetes Training
PDF
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
PPTX
Docker
PPTX
Using Docker in production: Get started today!
PPTX
Containerization using docker and its applications
PPTX
Containerization using docker and its applications
Introduction: Basic Installation Docker Container
UNITde II - Docker-Containerization.pptx,
Dockerize the World
Docker Devops document for short summary
Containers docker-docker hub-azureacr-azure aci
Docker slides
DockerCon EU 2015 Barcelona
Docker Workshop
Docker lxc win
Docker.pptx
Docker at Djangocon 2013 | Talk by Ken Cochrane
Django and Docker
Dockerize the World - presentation from Hradec Kralove
Virtualization, Containers, Docker and scalable container management services
Introduction to Docker | Docker and Kubernetes Training
Introduction Docker and Kubernetes | Docker & Kubernetes Tutorial | Dot Net T...
Docker
Using Docker in production: Get started today!
Containerization using docker and its applications
Containerization using docker and its applications

Recently uploaded (20)

PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
KodekX | Application Modernization Development
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPT
Teaching material agriculture food technology
PPTX
Cloud computing and distributed systems.
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
A Presentation on Artificial Intelligence
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Modernizing your data center with Dell and AMD
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
KodekX | Application Modernization Development
Network Security Unit 5.pdf for BCA BBA.
NewMind AI Weekly Chronicles - August'25 Week I
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Teaching material agriculture food technology
Cloud computing and distributed systems.
Advanced methodologies resolving dimensionality complications for autism neur...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Review of recent advances in non-invasive hemoglobin estimation
A Presentation on Artificial Intelligence
Dropbox Q2 2025 Financial Results & Investor Presentation
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Modernizing your data center with Dell and AMD
Chapter 3 Spatial Domain Image Processing.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
20250228 LYD VKU AI Blended-Learning.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology

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