SlideShare a Scribd company logo
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 storage, volume and image
Introduction to Docker storage, volume and imageIntroduction to Docker storage, volume and image
Introduction to Docker storage, volume and image
ejlp12
 
Docker: From Zero to Hero
Docker: From Zero to HeroDocker: From Zero to Hero
Docker: From Zero to Hero
fazalraja
 
What is Docker
What is DockerWhat is Docker
What is Docker
Pavel Klimiankou
 
Getting started with Docker
Getting started with DockerGetting started with Docker
Getting started with Docker
Ravindu Fernando
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
Gourav Varma
 
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Edureka!
 
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
Bangladesh Network Operators Group
 
Why Docker
Why DockerWhy Docker
Why Docker
dotCloud
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
Pubudu Jayawardana
 
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 Compose
Introduction to Docker ComposeIntroduction to Docker Compose
Introduction to Docker Compose
Ajeet Singh Raina
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginners
Juneyoung Oh
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
dotCloud
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
MANAOUIL Karim
 
Docker basics
Docker basicsDocker basics
Docker basics
AmanSoni129
 
Docker intro
Docker introDocker intro
Docker intro
Oleg Z
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
Frederik Mogensen
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
Phuc Nguyen
 
Docker Basic to Advance
Docker Basic to AdvanceDocker Basic to Advance
Docker Basic to Advance
Paras Jain
 
Dockers and containers basics
Dockers and containers basicsDockers and containers basics
Dockers and containers basics
Sourabh Saxena
 

What's hot (20)

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: From Zero to Hero
Docker: From Zero to HeroDocker: From Zero to Hero
Docker: From Zero to Hero
 
What is Docker
What is DockerWhat is Docker
What is Docker
 
Getting started with Docker
Getting started with DockerGetting started with Docker
Getting started with Docker
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
Docker Explained | What Is A Docker Container? | Docker Simplified | Docker T...
 
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
 
Why Docker
Why DockerWhy Docker
Why Docker
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
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 Compose
Introduction to Docker ComposeIntroduction to Docker Compose
Introduction to Docker Compose
 
Docker introduction for the beginners
Docker introduction for the beginnersDocker introduction for the beginners
Docker introduction for the beginners
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
Docker basics
Docker basicsDocker basics
Docker basics
 
Docker intro
Docker introDocker intro
Docker intro
 
Introduction to docker
Introduction to dockerIntroduction to docker
Introduction to docker
 
Docker introduction
Docker introductionDocker introduction
Docker introduction
 
Docker Basic to Advance
Docker Basic to AdvanceDocker Basic to Advance
Docker Basic to Advance
 
Dockers and containers basics
Dockers and containers basicsDockers and containers basics
Dockers and containers basics
 

Viewers also liked

Docker Basics
Docker BasicsDocker Basics
Docker Basics
Eueung Mulyana
 
docker installation and basics
docker installation and basicsdocker installation and basics
docker installation and basics
Walid Ashraf
 
Java Builds with Maven and Ant
Java Builds with Maven and AntJava Builds with Maven and Ant
Java Builds with Maven and Ant
David Noble
 
Docker by Example - Basics
Docker by Example - Basics Docker by Example - Basics
Docker by Example - Basics
Ganesh Samarthyam
 
Virtual machines and containers
Virtual machines and containersVirtual machines and containers
Virtual machines and containers
Patrick 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 Docker
msyukor
 
Containers - What are they and Atomic
Containers - What are they and AtomicContainers - What are they and Atomic
Containers - What are they and Atomic
Syed Shaaf
 
Apache Ant
Apache AntApache Ant
Apache Ant
Ali Bahu
 
Introduction to Apache Ant
Introduction to Apache AntIntroduction to Apache Ant
Introduction to Apache Ant
Muhammad Hafiz Hasan
 
ANT
ANTANT
Apache Ant
Apache AntApache Ant
Apache Ant
hussulinux
 
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
Steven 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 Containers
camunda services GmbH
 
Containers in the Enterprise
Containers in the EnterpriseContainers in the Enterprise
Containers in the Enterprise
Ken 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 Docker
Wellington Silva
 
Apache ANT vs Apache Maven
Apache ANT vs Apache MavenApache ANT vs Apache Maven
Apache ANT vs Apache Maven
Mudit Gupta
 
Apache Ant
Apache AntApache Ant
Apache Ant
Rajesh Kumar
 
Manen Ant SVN
Manen Ant SVNManen Ant SVN
Building Trustworthy Containers
Building Trustworthy ContainersBuilding Trustworthy Containers
Building Trustworthy Containers
Sysdig
 

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

Docker Ecosystem on Azure
Docker Ecosystem on AzureDocker Ecosystem on Azure
Docker Ecosystem on Azure
Patrick Chanezon
 
Docker mentorweek
Docker mentorweekDocker mentorweek
Docker mentorweek
Pavan Wankhade
 
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
ElasTest Project
 
aws 2023 nov docker.pptx
aws 2023 nov docker.pptxaws 2023 nov docker.pptx
aws 2023 nov docker.pptx
malikawannasi
 
Docker for .NET Developers
Docker for .NET DevelopersDocker for .NET Developers
Docker for .NET Developers
Taswar Bhatti
 
Docker+java
Docker+javaDocker+java
Docker+java
DPC Consulting Ltd
 
Introducing docker
Introducing dockerIntroducing docker
Introducing docker
Dharmit Shah
 
Powercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptxPowercoders · Docker · Fall 2021.pptx
Powercoders · Docker · Fall 2021.pptx
IgnacioTamayo2
 
Docker presentation
Docker presentationDocker presentation
Docker presentation
Jaskaran Singh
 
Virtual Machines and Docker
Virtual Machines and DockerVirtual Machines and Docker
Virtual Machines and Docker
Danish Khakwani
 
Docker for developers
Docker for developersDocker for developers
Docker for developers
Anvay Patil
 
How to _docker
How to _dockerHow to _docker
How to _docker
Abdur Rab Marjan
 
Docker, but what it is?
Docker, but what it is?Docker, but what it is?
Docker, but what it is?
Julien Maitrehenry
 
Настройка окружения для кросскомпиляции проектов на основе docker'a
Настройка окружения для кросскомпиляции проектов на основе docker'aНастройка окружения для кросскомпиляции проектов на основе docker'a
Настройка окружения для кросскомпиляции проектов на основе docker'a
corehard_by
 
Up and running with docker
Up and running with dockerUp and running with docker
Up and running with docker
Michelle Liu
 
Introduction of Docker and Docker Compose
Introduction of Docker and Docker ComposeIntroduction of Docker and Docker Compose
Introduction of Docker and Docker Compose
Dr. 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 Jenkins
Micael 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.ppt
aravym456
 

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

What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
DanBrown980551
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
UiPathCommunity
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
ScyllaDB
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
christinelarrosa
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
HarpalGohil4
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Neo4j
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 

Recently uploaded (20)

What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
LF Energy Webinar: Carbon Data Specifications: Mechanisms to Improve Data Acc...
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Day 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio FundamentalsDay 2 - Intro to UiPath Studio Fundamentals
Day 2 - Intro to UiPath Studio Fundamentals
 
A Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's ArchitectureA Deep Dive into ScyllaDB's Architecture
A Deep Dive into ScyllaDB's Architecture
 
Christine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptxChristine's Product Research Presentation.pptx
Christine's Product Research Presentation.pptx
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and BioinformaticiansBiomedical Knowledge Graphs for Data Scientists and Bioinformaticians
Biomedical Knowledge Graphs for Data Scientists and Bioinformaticians
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 

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."