SlideShare a Scribd company logo
Containers
Dockers-Docker Hub-ACR-ACI
Rajesh Kolla
Full-stack developer ,Azure Architect
Email: razesh.kolla@gmail.com
Twitter: @RajeshKolla18
LinkedIn: https://be.linkedin.com/in/razeshkolla
Agenda
• Overview & Basics
• Benefits
• Docker Commands
• Docker Images &Registries
• Running Containers Locally
• Running Containers on Azure
• Demo
• Q&A
2
Virtualization
1. Virtual Machines are running on
Hypervisor which enables
virtualization of OS and manages
sharing of physical resources toVMs.
EachVM is having its own guest OS.
2. Containers are running directly on
host OS. and shares host OS between
containers. these are highly portable
and isolated. 3
Docker Architecture
4
• Docker Host
• Docker Engine
Docker Client
Docker server
REST API
• Docker Hub
Docker Engine: Docker engine is an open source containerization
technology for building and containerizing applications.
This consists of several components configured as a client-server
implementation where the client and server run simultaneously on the
same host.
The client communicates with the server using a RESTAPI, which
allows the client to also communicate with a remote server instance.
Docker
Commands
5
•
command Description
docker version Show client & server version information
docker --version Show the Docker version information
docker info Display system-wide information
docker images List images
docker login Log in to a Docker registry
docker logout Log out from a Docker registry
docker ps List containers
docker pull Pull an image or a repository from a registry
docker push Push an image or a repository to a registry
docker run <image> Run a command in a new container
docker kill <Cont Id> Kill one or more running containers
docker start Start one or more stopped containers
docker stop Stop one or more running containers
docker stats Display a live stream of container(s) resource usage statistics
docker rm Remove one or more containers
docker rmi Remove one or more Images
docker tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
docker exec Run a command in a running container
docker restart Restart one or more containers
Docker rename Rename a container
Benefits with
Docker
6
• ContentAgnostic
– Encapsulate contentPayload and dependencies
• Hardware Agnostic
– Can run consistently on any hardware virtually
• Content isolation
– Resource, network and content isolation avoids dependency hell
• Automation
– Standard Operation to run , start ,stop. Well suitable for
CI&CD.
• Highly efficient
– Light weight , quick startup , quick to move and scale
• Separation of Duties
– Developer focus on code and Ops focus on infrastructure
• Build once and run anywhere
– Once image is built with all dependencies .This will run in any
environment
Port mapping
7
• Every container has its own network .
There is provision to assign port to
container .
• This port number is unique from host
and another containers
Volume
Mounting
8
• Each container has its own isolated file
system .
• When we dispose container Data in
container will be lost
• Volume mounting is one of the solution
for this issue.
• Volume mounting is nothing mapping
external file system to container file
system
Docker Image
workflow
9
Docker file:-
• This is plain text file with set of
instructions how to create container
image.
• It uses set of keyword to create
image in Layered architecture.
• It also support multi stages
Docker Host:- a physical computer system or virtual machineThe
component on the host that does the work of building and running
containers is the Docker Daemon.
Docker Image:- is a standard unit of shippable software that packages up
code and all its dependencies
Docker Container:- A container is running instance of image( standard
unit of software that packages up code and all its dependencies) so the
application runs quickly and reliably from one computing environment to
another
Dockerfile
10
Build Docker image using Docker file
• Base Image: Image derived in docker file to
build custom image
• Tag: it will create versioning to image
• Single stage Docker file:
-Copies pre-build application
• Multi-stage Docker file:
- Stage1:build app in container with SDK
-Stage2: run app in container with runtime using
stage1 build output
docker build –t webapp:dev .
Multistage docker file
Singlestage docker file
Container
Registries
11
• Docker Images can be stored locally
• Docker Images can be shared by using Container registries
• Docker Hub is SaaS Application and most popular for host
public images and Privates images
• ACR - Azure Container Registry is private registry provided
by in Azure to store images in Azure
- Can be build images automatically
- It will reduce ingress and egress network latency
Azure Container
Instances
12
• ACI is Server less PaaS component
• It enables the quickest and easiest way to run a
container in azure
• It provides Per-second billing model
-Pay only while container is running
• It is good for experiments , short runs and CI
build.
• Good option for Batch jobs which are running
for a few hours over night
• It is not good option for long running web
server & database
• ACI Features
• Easy to create and Manage using
Azure CLI, Powershell,C# SDK, ARM
• Networking
• Public IP Address
• Domain Name prefix
• Expose ports
• MountVolumes
• Azure file share
• Secrets
• CPU and Memory
• By Default 1 CPU and 1.5GB Memory
• Supports both windows & Linux containers
• Linux containers are spin up very faster rather than
windows containers
• default :Linux
• Configure environment variable
• access container logs
• Container groups
• one or more containers
• Run on the same server and share resources
Q&A
13
Email: razesh.kolla@gmail.com
Twitter: @RajeshKolla18
LinkedIn: https://be.linkedin.com/in/razeshkolla
Thank you!
Email: razesh.kolla@gmail.com
Twitter: @RajeshKolla18
LinkedIn: https://be.linkedin.com/in/razeshkolla

More Related Content

What's hot (20)

PPTX
What is Docker?
Shubhrank Rastogi
 
PPTX
Docker introduction (1)
Gourav Varma
 
PDF
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Docker, Inc.
 
PDF
Aks pimarox from zero to hero
Johan Biere
 
PDF
DockerCon EU 2015: Monitoring Docker
Docker, Inc.
 
PPTX
Containers and workload security an overview
Krishna-Kumar
 
PDF
Securing your Containers
Riyaz Faizullabhoy
 
PPTX
Containers vs. VMs: It's All About the Apps!
Steve Wilson
 
PDF
Introduction to Docker Containers - Docker Captain
Ajeet Singh Raina
 
PPTX
Structured Container Delivery by Oscar Renalias, Accenture
Docker, Inc.
 
PDF
Docker Containers Deep Dive
Will Kinard
 
PDF
Docker & kubernetes
NexThoughts Technologies
 
PPTX
Moving Applications into Azure Kubernetes
Hussein Salman
 
PPT
Building a Platform-as-a-Service with Docker and Node.js
Kevin Swiber
 
PDF
Docker Datacenter - CaaS
Harish Jayakumar
 
PDF
Docker Registry V2
Docker, Inc.
 
PDF
Introduction to Docker | Docker and Kubernetes Training
Shailendra Chauhan
 
PDF
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
CodeOps Technologies LLP
 
PPTX
NetflixOSS for Triangle Devops Oct 2013
aspyker
 
PDF
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker, Inc.
 
What is Docker?
Shubhrank Rastogi
 
Docker introduction (1)
Gourav Varma
 
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Docker, Inc.
 
Aks pimarox from zero to hero
Johan Biere
 
DockerCon EU 2015: Monitoring Docker
Docker, Inc.
 
Containers and workload security an overview
Krishna-Kumar
 
Securing your Containers
Riyaz Faizullabhoy
 
Containers vs. VMs: It's All About the Apps!
Steve Wilson
 
Introduction to Docker Containers - Docker Captain
Ajeet Singh Raina
 
Structured Container Delivery by Oscar Renalias, Accenture
Docker, Inc.
 
Docker Containers Deep Dive
Will Kinard
 
Docker & kubernetes
NexThoughts Technologies
 
Moving Applications into Azure Kubernetes
Hussein Salman
 
Building a Platform-as-a-Service with Docker and Node.js
Kevin Swiber
 
Docker Datacenter - CaaS
Harish Jayakumar
 
Docker Registry V2
Docker, Inc.
 
Introduction to Docker | Docker and Kubernetes Training
Shailendra Chauhan
 
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
CodeOps Technologies LLP
 
NetflixOSS for Triangle Devops Oct 2013
aspyker
 
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Docker, Inc.
 

Similar to Containers docker-docker hub-azureacr-azure aci (20)

PPTX
Docker Basics
DuckDuckGo
 
PDF
Docker mentorweek
Pavan Wankhade
 
PDF
Introduction to Docker, Devops Virtualization and configuration management
AbhinShyam1
 
PDF
Cloud Native Computing - Part III - Containers
Linjith Kunnon
 
PPTX
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PPTX
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PPTX
Container on azure
Vishwas N
 
PDF
Demystifying Docker
Cloud Native Bangalore
 
PPTX
Demystifying Docker101
Ajeet Singh Raina
 
PPTX
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Lucas Jellema
 
PPTX
Dockers and containers basics
Sourabh Saxena
 
PDF
Docker Up and Running for Web Developers
Amr Fawzy
 
PDF
Docker up and Running For Web Developers
BADR
 
PPTX
Java developer intro to environment management with vagrant puppet and docker
Getting value from IoT, Integration and Data Analytics
 
PPTX
Virtualization, Containers, Docker and scalable container management services
abhishek chawla
 
PDF
Up and running with docker
Michelle Liu
 
PDF
Accelerate your software development with Docker
Andrey Hristov
 
PPTX
Accelerate your development with Docker
Andrey Hristov
 
PDF
Docker basics
Claudio Montoya
 
PPTX
Docker Ecosystem on Azure
Patrick Chanezon
 
Docker Basics
DuckDuckGo
 
Docker mentorweek
Pavan Wankhade
 
Introduction to Docker, Devops Virtualization and configuration management
AbhinShyam1
 
Cloud Native Computing - Part III - Containers
Linjith Kunnon
 
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Containerization using docker and its applications
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Container on azure
Vishwas N
 
Demystifying Docker
Cloud Native Bangalore
 
Demystifying Docker101
Ajeet Singh Raina
 
Java Developer Intro to Environment Management with Vagrant, Puppet, and Dock...
Lucas Jellema
 
Dockers and containers basics
Sourabh Saxena
 
Docker Up and Running for Web Developers
Amr Fawzy
 
Docker up and Running For Web Developers
BADR
 
Java developer intro to environment management with vagrant puppet and docker
Getting value from IoT, Integration and Data Analytics
 
Virtualization, Containers, Docker and scalable container management services
abhishek chawla
 
Up and running with docker
Michelle Liu
 
Accelerate your software development with Docker
Andrey Hristov
 
Accelerate your development with Docker
Andrey Hristov
 
Docker basics
Claudio Montoya
 
Docker Ecosystem on Azure
Patrick Chanezon
 
Ad

More from Rajesh Kolla (6)

PDF
Azure Data services
Rajesh Kolla
 
PDF
React js
Rajesh Kolla
 
PDF
Blazor web apps
Rajesh Kolla
 
PDF
Container orchestration k8s azure kubernetes services
Rajesh Kolla
 
PDF
Containers on azure web apps
Rajesh Kolla
 
PDF
Azure functions
Rajesh Kolla
 
Azure Data services
Rajesh Kolla
 
React js
Rajesh Kolla
 
Blazor web apps
Rajesh Kolla
 
Container orchestration k8s azure kubernetes services
Rajesh Kolla
 
Containers on azure web apps
Rajesh Kolla
 
Azure functions
Rajesh Kolla
 
Ad

Recently uploaded (20)

PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Biography of Daniel Podor.pdf
Daniel Podor
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Biography of Daniel Podor.pdf
Daniel Podor
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 

Containers docker-docker hub-azureacr-azure aci

  • 1. Containers Dockers-Docker Hub-ACR-ACI Rajesh Kolla Full-stack developer ,Azure Architect Email: [email protected] Twitter: @RajeshKolla18 LinkedIn: https://be.linkedin.com/in/razeshkolla
  • 2. Agenda • Overview & Basics • Benefits • Docker Commands • Docker Images &Registries • Running Containers Locally • Running Containers on Azure • Demo • Q&A 2
  • 3. Virtualization 1. Virtual Machines are running on Hypervisor which enables virtualization of OS and manages sharing of physical resources toVMs. EachVM is having its own guest OS. 2. Containers are running directly on host OS. and shares host OS between containers. these are highly portable and isolated. 3
  • 4. Docker Architecture 4 • Docker Host • Docker Engine Docker Client Docker server REST API • Docker Hub Docker Engine: Docker engine is an open source containerization technology for building and containerizing applications. This consists of several components configured as a client-server implementation where the client and server run simultaneously on the same host. The client communicates with the server using a RESTAPI, which allows the client to also communicate with a remote server instance.
  • 5. Docker Commands 5 • command Description docker version Show client & server version information docker --version Show the Docker version information docker info Display system-wide information docker images List images docker login Log in to a Docker registry docker logout Log out from a Docker registry docker ps List containers docker pull Pull an image or a repository from a registry docker push Push an image or a repository to a registry docker run <image> Run a command in a new container docker kill <Cont Id> Kill one or more running containers docker start Start one or more stopped containers docker stop Stop one or more running containers docker stats Display a live stream of container(s) resource usage statistics docker rm Remove one or more containers docker rmi Remove one or more Images docker tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE docker exec Run a command in a running container docker restart Restart one or more containers Docker rename Rename a container
  • 6. Benefits with Docker 6 • ContentAgnostic – Encapsulate contentPayload and dependencies • Hardware Agnostic – Can run consistently on any hardware virtually • Content isolation – Resource, network and content isolation avoids dependency hell • Automation – Standard Operation to run , start ,stop. Well suitable for CI&CD. • Highly efficient – Light weight , quick startup , quick to move and scale • Separation of Duties – Developer focus on code and Ops focus on infrastructure • Build once and run anywhere – Once image is built with all dependencies .This will run in any environment
  • 7. Port mapping 7 • Every container has its own network . There is provision to assign port to container . • This port number is unique from host and another containers
  • 8. Volume Mounting 8 • Each container has its own isolated file system . • When we dispose container Data in container will be lost • Volume mounting is one of the solution for this issue. • Volume mounting is nothing mapping external file system to container file system
  • 9. Docker Image workflow 9 Docker file:- • This is plain text file with set of instructions how to create container image. • It uses set of keyword to create image in Layered architecture. • It also support multi stages Docker Host:- a physical computer system or virtual machineThe component on the host that does the work of building and running containers is the Docker Daemon. Docker Image:- is a standard unit of shippable software that packages up code and all its dependencies Docker Container:- A container is running instance of image( standard unit of software that packages up code and all its dependencies) so the application runs quickly and reliably from one computing environment to another
  • 10. Dockerfile 10 Build Docker image using Docker file • Base Image: Image derived in docker file to build custom image • Tag: it will create versioning to image • Single stage Docker file: -Copies pre-build application • Multi-stage Docker file: - Stage1:build app in container with SDK -Stage2: run app in container with runtime using stage1 build output docker build –t webapp:dev . Multistage docker file Singlestage docker file
  • 11. Container Registries 11 • Docker Images can be stored locally • Docker Images can be shared by using Container registries • Docker Hub is SaaS Application and most popular for host public images and Privates images • ACR - Azure Container Registry is private registry provided by in Azure to store images in Azure - Can be build images automatically - It will reduce ingress and egress network latency
  • 12. Azure Container Instances 12 • ACI is Server less PaaS component • It enables the quickest and easiest way to run a container in azure • It provides Per-second billing model -Pay only while container is running • It is good for experiments , short runs and CI build. • Good option for Batch jobs which are running for a few hours over night • It is not good option for long running web server & database • ACI Features • Easy to create and Manage using Azure CLI, Powershell,C# SDK, ARM • Networking • Public IP Address • Domain Name prefix • Expose ports • MountVolumes • Azure file share • Secrets • CPU and Memory • By Default 1 CPU and 1.5GB Memory • Supports both windows & Linux containers • Linux containers are spin up very faster rather than windows containers • default :Linux • Configure environment variable • access container logs • Container groups • one or more containers • Run on the same server and share resources
  • 13. Q&A 13 Email: [email protected] Twitter: @RajeshKolla18 LinkedIn: https://be.linkedin.com/in/razeshkolla
  • 14. Thank you! Email: [email protected] Twitter: @RajeshKolla18 LinkedIn: https://be.linkedin.com/in/razeshkolla