SlideShare a Scribd company logo
1 of 33
Mr. Mohan Pawar
 What is Docker ?
 Containers Vs Virtual Machines
 Docker terminology
◦ Docker engine
◦ Images
◦ Containers
◦ Registry
◦ Docker Hub
◦ Docker Cloud
Introduction to Images
Getting started with Containers
 It’s all about data…
 There’s rock, paper, scissors
and then there’s information.
 Docker is an open source engine that
automates the deployment of any application
as a lightweight, portable and self-sufficient
that will run virtually anywhere.
 Package your application into a standardized
unit of software development.
 Provide a uniformed wrapper around a
software package: «Build, Ship and Run Any App,
Anywhere»
◦ Similar to shipping containers: The
container is always the same, regardless
of the contents and thus fits on all trucks,
cranes, ships, ...
 libvirt: Platform Virtualization
 LXC (LinuX Containers): Multiple isolated
Linux systems (containers) on a single host
 Layered File System
 2013-03: Releases as Open Source
 2013-09: Red Hat collaboration (Fedora,
RHEL, OpenShift)
 2014-03: 4th most starred GitHub project
 2014-05: JAX Innovation Award (most
innovative open technology)
12
Run Platforms
 Various Linux distributions
(Ubuntu, Fedora, RHEL, Centos,
openSUSE, ...)
 Cloud (Amazon EC2, Google
Compute Engine, Rackspacem,
Azure)
 2016-12: Microsoft announces
plans to integrate Docker with
next release of Windows Server
 Docker is the world’s
leading software
containerization platform.
Simple Command - Ad-Hoc Container
 docker run ubuntu echo Hello World
◦ docker images [-a]
◦ docker ps –a
 If you change a single line in your
project, how much time is required to
deploy it in production ?
 Persisted snapshot that can be run
◦ images: List all local images
◦ run: Create a container from an image and execute
a command in it
◦ tag: Tag an image
◦ pull: Download image from repository
◦ rmi: Delete a local image
 This will also remove intermediate images if no longer
used
 Runnable instance of an image
◦ ps: List all running containers
◦ ps –a: List all containers (incl. stopped)
◦ top: Display processes of a container
◦ start: Start a stopped container
◦ stop: Stop a running container
◦ pause: Pause all processes within a container
◦ rm: Delete a container
◦ commit: Create an image from a container
Container
cid4
Container
cid3
18
Image vs. Container
Base Image
ubuntu:latest
Container
cid1
run
Container
cid1
cmd  new state
New Image
iid1
commit
base image
Container
cid2
run
 Create images automatically using a build
script: «Dockerfile»
 Can be versioned in a version control system
like Git or SVN, along with all dependencies
 Docker Hub can automatically build images
based on dockerfiles on Github
 Dockerfile:
◦ FROM ubuntu
ENV DOCK_MESSAGE Hello My World
ADD dir /files
CMD ["bash", "someScript"]
 docker build [DockerFileDir]
 docker inspect [imageId]
 docker run –ti –v /hostLog:/log
ubuntu
 Run second container: Volume can be shared
◦ docker run –ti --volumes-from
firstContainerName ubuntu
 docker run –t –p 8080:80 ubuntu nc –l
80
◦ Map container port 80 to host port 8080
◦ Check on host: nc localhost 8080
 Link with other docker container
◦ docker run -ti --link containerName:alias
ubuntu
◦ See link info with set
 Docker Images: Docker Hub
 Vagrant: «Docker for VMs»
 Automated Setup
◦ Puppet, Chef, Ansible, ...
 Docker Ecosystem
◦ skydock / skydns
◦ fig
 Public repository of Docker images
◦ https://hub.docker.com/
◦ docker search [term]
 Automated: Has been automatically built from
Dockerfile
◦ Source for build is available on GitHub
 top / ps / free -m
 Start 100 WebServer containers
◦ docker run -d -p $hostPort:5000 -e
"PROVIDER=$provider" training/webapp
 docker ps [containerId]
 top / ps / free -m
 Development Environment
 Environments for Integration Tests
 Quick evaluation of software
 Microservices
 Multi-Tenancy
 Unified execution environment (dev  test 
prod (local, VM, cloud, ...)
e.g. BookMyShow transfer their 3 servers to
docker.
 All IT companies are migrating their servers
with docker.
 Micro-service architecture
 Serverless computing.
 Docker homepage: https://www.docker.com/
◦ Introduction:
https://www.docker.com/whatisdocker/
◦ Online tutorial: https://www.docker.com/tryit/
◦ Installation and user guide:
https://docs.docker.com/
 InfTec TecBoard:
https://inftec.atlassian.net/wiki/display/TEC/
Docker
 https://bitbucket.org/inftec/vagrant-
playground/branch/docker-demo
 Multi-Container-Setup
◦ Logging-Container
◦ Echo-Container
◦ Client-Container
 https://dockerinfo.wordpress.com/
 http://mohan08p.strikingly.com/
 https://www.quora.com/profile/Mohan-
Pawar-1
 https://github.com/mohan08p
 https://in.linkedin.com/in/mohan-pawar-
91a5432a
 Containerization is the fastest, most resource
effective, and most secure setup we know to
date and docker is drifting the IT world in
more agile way to achieved easy to create
architecture.
Docker Basics

More Related Content

What's hot

Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to dockerInstruqt
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker, Inc.
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to DockerAditya Konarde
 
Docker intro
Docker introDocker intro
Docker introOleg Z
 
Getting started with Docker
Getting started with DockerGetting started with Docker
Getting started with DockerRavindu Fernando
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageejlp12
 
Docker introduction
Docker introductionDocker introduction
Docker introductionPhuc Nguyen
 
Docker 101: An Introduction
Docker 101: An IntroductionDocker 101: An Introduction
Docker 101: An IntroductionPOSSCON
 
Docker introduction
Docker introductionDocker introduction
Docker introductiondotCloud
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep DiveWill Kinard
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017Docker, Inc.
 
Why Docker
Why DockerWhy Docker
Why DockerdotCloud
 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker, Inc.
 
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
 
A Hands-On Introduction To Docker Containers.pdf
A Hands-On Introduction To Docker Containers.pdfA Hands-On Introduction To Docker Containers.pdf
A Hands-On Introduction To Docker Containers.pdfEdith Puclla
 

What's hot (20)

Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
Docker intro
Docker introDocker intro
Docker intro
 
Getting started with Docker
Getting started with DockerGetting started with Docker
Getting started with Docker
 
Introduction to Docker storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Docker basics
Docker basicsDocker basics
Docker basics
 
Docker 101: An Introduction
Docker 101: An IntroductionDocker 101: An Introduction
Docker 101: An Introduction
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Introduction to Docker - 2017
Introduction to Docker - 2017Introduction to Docker - 2017
Introduction to Docker - 2017
 
Why Docker
Why DockerWhy Docker
Why Docker
 
Docker 101: Introduction to Docker
Docker 101: Introduction to DockerDocker 101: Introduction to Docker
Docker 101: Introduction to Docker
 
Docker
DockerDocker
Docker
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
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...
 
A Hands-On Introduction To Docker Containers.pdf
A Hands-On Introduction To Docker Containers.pdfA Hands-On Introduction To Docker Containers.pdf
A Hands-On Introduction To Docker Containers.pdf
 
Docker, LinuX Container
Docker, LinuX ContainerDocker, LinuX Container
Docker, LinuX Container
 

Viewers also liked

docker installation and basics
docker installation and basicsdocker installation and basics
docker installation and basicsWalid Ashraf
 
Java Builds with Maven and Ant
Java Builds with Maven and AntJava Builds with Maven and Ant
Java Builds with Maven and AntDavid Noble
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containersPatrick Pierson
 
Why Do Developers Love Docker?
Why Do Developers Love Docker?Why Do Developers Love Docker?
Why Do Developers Love Docker?Justyna Bak
 
Containerizing Web Application with Docker
Containerizing Web Application with DockerContainerizing Web Application with Docker
Containerizing Web Application with Dockermsyukor
 
Containers - What are they and Atomic
Containers - What are they and AtomicContainers - What are they and Atomic
Containers - What are they and AtomicSyed Shaaf
 
Apache Ant
Apache AntApache Ant
Apache AntAli Bahu
 
Discussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machinesDiscussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machinesSteven Grzbielok
 
bed-con 2015 - From Virtual Machines to Containers
bed-con 2015 - From Virtual Machines to Containersbed-con 2015 - From Virtual Machines to Containers
bed-con 2015 - From Virtual Machines to Containerscamunda services GmbH
 
Containers in the Enterprise
Containers in the EnterpriseContainers in the Enterprise
Containers in the EnterpriseKen Thompson
 
Talk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about DockerTalk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about DockerWellington Silva
 
Apache ANT vs Apache Maven
Apache ANT vs Apache MavenApache ANT vs Apache Maven
Apache ANT vs Apache MavenMudit Gupta
 
Building Trustworthy Containers
Building Trustworthy ContainersBuilding Trustworthy Containers
Building Trustworthy ContainersSysdig
 

Viewers also liked (20)

Docker Basics
Docker BasicsDocker Basics
Docker Basics
 
docker installation and basics
docker installation and basicsdocker installation and basics
docker installation and basics
 
Java Builds with Maven and Ant
Java Builds with Maven and AntJava Builds with Maven and Ant
Java Builds with Maven and Ant
 
Docker by Example - Basics
Docker by Example - Basics Docker by Example - Basics
Docker by Example - Basics
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
 
Why Do Developers Love Docker?
Why Do Developers Love Docker?Why Do Developers Love Docker?
Why Do Developers Love Docker?
 
Containerizing Web Application with Docker
Containerizing Web Application with DockerContainerizing Web Application with Docker
Containerizing Web Application with Docker
 
Containers - What are they and Atomic
Containers - What are they and AtomicContainers - What are they and Atomic
Containers - What are they and Atomic
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
Introduction to Apache Ant
Introduction to Apache AntIntroduction to Apache Ant
Introduction to Apache Ant
 
ANT
ANTANT
ANT
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
Discussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machinesDiscussing the difference between docker dontainers and virtual machines
Discussing the difference between docker dontainers and virtual machines
 
bed-con 2015 - From Virtual Machines to Containers
bed-con 2015 - From Virtual Machines to Containersbed-con 2015 - From Virtual Machines to Containers
bed-con 2015 - From Virtual Machines to Containers
 
Containers in the Enterprise
Containers in the EnterpriseContainers in the Enterprise
Containers in the Enterprise
 
Talk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about DockerTalk on PHP Day Uruguay about Docker
Talk on PHP Day Uruguay about Docker
 
Apache ANT vs Apache Maven
Apache ANT vs Apache MavenApache ANT vs Apache Maven
Apache ANT vs Apache Maven
 
Apache Ant
Apache AntApache Ant
Apache Ant
 
Manen Ant SVN
Manen Ant SVNManen Ant SVN
Manen Ant SVN
 
Building Trustworthy Containers
Building Trustworthy ContainersBuilding Trustworthy Containers
Building Trustworthy Containers
 

Similar to Docker Basics

ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and JenkinsExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and JenkinsElasTest Project
 
aws 2023 nov docker.pptx
aws 2023 nov docker.pptxaws 2023 nov docker.pptx
aws 2023 nov docker.pptxmalikawannasi
 
Docker for .NET Developers
Docker for .NET DevelopersDocker for .NET Developers
Docker for .NET DevelopersTaswar Bhatti
 
Introducing docker
Introducing dockerIntroducing docker
Introducing dockerDharmit Shah
 
Powercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptxPowercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptxIgnacioTamayo2
 
Virtual Machines and Docker
Virtual Machines and DockerVirtual Machines and Docker
Virtual Machines and DockerDanish Khakwani
 
Docker for developers
Docker for developersDocker for developers
Docker for developersAnvay Patil
 
Настройка окружения для кросскомпиляции проектов на основе docker'a
Настройка окружения для кросскомпиляции проектов на основе docker'aНастройка окружения для кросскомпиляции проектов на основе docker'a
Настройка окружения для кросскомпиляции проектов на основе docker'acorehard_by
 
Up and running with docker
Up and running with dockerUp and running with docker
Up and running with dockerMichelle Liu
 
Introduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeIntroduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeDr. Ketan Parmar
 
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...Puppet
 
Docker 1.9 Workshop
Docker 1.9 WorkshopDocker 1.9 Workshop
Docker 1.9 Workshop{code}
 
Using Docker to build and test in your laptop and Jenkins
Using Docker to build and test in your laptop and JenkinsUsing Docker to build and test in your laptop and Jenkins
Using Docker to build and test in your laptop and JenkinsMicael Gallego
 
14309525_docker_docker_docker_docker_introduction.ppt
14309525_docker_docker_docker_docker_introduction.ppt14309525_docker_docker_docker_docker_introduction.ppt
14309525_docker_docker_docker_docker_introduction.pptaravym456
 

Similar to Docker Basics (20)

Docker Ecosystem on Azure
Docker Ecosystem on AzureDocker Ecosystem on Azure
Docker Ecosystem on Azure
 
Docker mentorweek
Docker mentorweekDocker mentorweek
Docker mentorweek
 
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and JenkinsExpoQA 2017 Using docker to build and test in your laptop and Jenkins
ExpoQA 2017 Using docker to build and test in your laptop and Jenkins
 
aws 2023 nov docker.pptx
aws 2023 nov docker.pptxaws 2023 nov docker.pptx
aws 2023 nov docker.pptx
 
Docker for .NET Developers
Docker for .NET DevelopersDocker for .NET Developers
Docker for .NET Developers
 
Docker+java
Docker+javaDocker+java
Docker+java
 
Introducing docker
Introducing dockerIntroducing docker
Introducing docker
 
Powercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptxPowercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptx
 
Docker presentation
Docker presentationDocker presentation
Docker presentation
 
Virtual Machines and Docker
Virtual Machines and DockerVirtual Machines and Docker
Virtual Machines and Docker
 
Docker for developers
Docker for developersDocker for developers
Docker for developers
 
How to _docker
How to _dockerHow to _docker
How to _docker
 
Docker, but what it is?
Docker, but what it is?Docker, but what it is?
Docker, but what it is?
 
Настройка окружения для кросскомпиляции проектов на основе docker'a
Настройка окружения для кросскомпиляции проектов на основе docker'aНастройка окружения для кросскомпиляции проектов на основе docker'a
Настройка окружения для кросскомпиляции проектов на основе docker'a
 
Up and running with docker
Up and running with dockerUp and running with docker
Up and running with docker
 
Introduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeIntroduction of Docker and Docker Compose
Introduction of Docker and Docker Compose
 
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
 
Docker 1.9 Workshop
Docker 1.9 WorkshopDocker 1.9 Workshop
Docker 1.9 Workshop
 
Using Docker to build and test in your laptop and Jenkins
Using Docker to build and test in your laptop and JenkinsUsing Docker to build and test in your laptop and Jenkins
Using Docker to build and test in your laptop and Jenkins
 
14309525_docker_docker_docker_docker_introduction.ppt
14309525_docker_docker_docker_docker_introduction.ppt14309525_docker_docker_docker_docker_introduction.ppt
14309525_docker_docker_docker_docker_introduction.ppt
 

Recently uploaded

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 

Recently uploaded (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 

Docker Basics

  • 2.  What is Docker ?  Containers Vs Virtual Machines  Docker terminology ◦ Docker engine ◦ Images ◦ Containers ◦ Registry ◦ Docker Hub ◦ Docker Cloud Introduction to Images Getting started with Containers
  • 3.  It’s all about data…
  • 4.  There’s rock, paper, scissors and then there’s information.
  • 5.
  • 6.
  • 7.  Docker is an open source engine that automates the deployment of any application as a lightweight, portable and self-sufficient that will run virtually anywhere.  Package your application into a standardized unit of software development.
  • 8.  Provide a uniformed wrapper around a software package: «Build, Ship and Run Any App, Anywhere» ◦ Similar to shipping containers: The container is always the same, regardless of the contents and thus fits on all trucks, cranes, ships, ...
  • 9.
  • 10.  libvirt: Platform Virtualization  LXC (LinuX Containers): Multiple isolated Linux systems (containers) on a single host  Layered File System
  • 11.  2013-03: Releases as Open Source  2013-09: Red Hat collaboration (Fedora, RHEL, OpenShift)  2014-03: 4th most starred GitHub project  2014-05: JAX Innovation Award (most innovative open technology)
  • 12. 12 Run Platforms  Various Linux distributions (Ubuntu, Fedora, RHEL, Centos, openSUSE, ...)  Cloud (Amazon EC2, Google Compute Engine, Rackspacem, Azure)  2016-12: Microsoft announces plans to integrate Docker with next release of Windows Server
  • 13.  Docker is the world’s leading software containerization platform.
  • 14. Simple Command - Ad-Hoc Container  docker run ubuntu echo Hello World ◦ docker images [-a] ◦ docker ps –a
  • 15.  If you change a single line in your project, how much time is required to deploy it in production ?
  • 16.  Persisted snapshot that can be run ◦ images: List all local images ◦ run: Create a container from an image and execute a command in it ◦ tag: Tag an image ◦ pull: Download image from repository ◦ rmi: Delete a local image  This will also remove intermediate images if no longer used
  • 17.  Runnable instance of an image ◦ ps: List all running containers ◦ ps –a: List all containers (incl. stopped) ◦ top: Display processes of a container ◦ start: Start a stopped container ◦ stop: Stop a running container ◦ pause: Pause all processes within a container ◦ rm: Delete a container ◦ commit: Create an image from a container
  • 18. Container cid4 Container cid3 18 Image vs. Container Base Image ubuntu:latest Container cid1 run Container cid1 cmd  new state New Image iid1 commit base image Container cid2 run
  • 19.  Create images automatically using a build script: «Dockerfile»  Can be versioned in a version control system like Git or SVN, along with all dependencies  Docker Hub can automatically build images based on dockerfiles on Github
  • 20.  Dockerfile: ◦ FROM ubuntu ENV DOCK_MESSAGE Hello My World ADD dir /files CMD ["bash", "someScript"]  docker build [DockerFileDir]  docker inspect [imageId]
  • 21.  docker run –ti –v /hostLog:/log ubuntu  Run second container: Volume can be shared ◦ docker run –ti --volumes-from firstContainerName ubuntu
  • 22.  docker run –t –p 8080:80 ubuntu nc –l 80 ◦ Map container port 80 to host port 8080 ◦ Check on host: nc localhost 8080  Link with other docker container ◦ docker run -ti --link containerName:alias ubuntu ◦ See link info with set
  • 23.  Docker Images: Docker Hub  Vagrant: «Docker for VMs»  Automated Setup ◦ Puppet, Chef, Ansible, ...  Docker Ecosystem ◦ skydock / skydns ◦ fig
  • 24.  Public repository of Docker images ◦ https://hub.docker.com/ ◦ docker search [term]  Automated: Has been automatically built from Dockerfile ◦ Source for build is available on GitHub
  • 25.  top / ps / free -m  Start 100 WebServer containers ◦ docker run -d -p $hostPort:5000 -e "PROVIDER=$provider" training/webapp  docker ps [containerId]  top / ps / free -m
  • 26.  Development Environment  Environments for Integration Tests  Quick evaluation of software  Microservices  Multi-Tenancy  Unified execution environment (dev  test  prod (local, VM, cloud, ...) e.g. BookMyShow transfer their 3 servers to docker.
  • 27.
  • 28.  All IT companies are migrating their servers with docker.  Micro-service architecture  Serverless computing.
  • 29.  Docker homepage: https://www.docker.com/ ◦ Introduction: https://www.docker.com/whatisdocker/ ◦ Online tutorial: https://www.docker.com/tryit/ ◦ Installation and user guide: https://docs.docker.com/  InfTec TecBoard: https://inftec.atlassian.net/wiki/display/TEC/ Docker
  • 31.  https://dockerinfo.wordpress.com/  http://mohan08p.strikingly.com/  https://www.quora.com/profile/Mohan- Pawar-1  https://github.com/mohan08p  https://in.linkedin.com/in/mohan-pawar- 91a5432a
  • 32.  Containerization is the fastest, most resource effective, and most secure setup we know to date and docker is drifting the IT world in more agile way to achieved easy to create architecture.

Editor's Notes

  1. Windows: http://www.zdnet.com/docker-cto-why-microsofts-docker-plans-for-windows-will-matter-to-you-7000035150/ "That's why the result of the Microsoft announcement will not allow a container that runs on Linux to run seamlessly on Windows or vice versa. But that's OK because in the context of distributed applications that's not what developers are asking for."