SlideShare uma empresa Scribd logo
1 de 14
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

Mais conteúdo relacionado

Mais procurados

Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...Docker, Inc.
 
Aks pimarox from zero to hero
Aks pimarox from zero to heroAks pimarox from zero to hero
Aks pimarox from zero to heroJohan Biere
 
DockerCon EU 2015: Monitoring Docker
DockerCon EU 2015: Monitoring DockerDockerCon EU 2015: Monitoring Docker
DockerCon EU 2015: Monitoring DockerDocker, Inc.
 
Containers and workload security an overview
Containers and workload security an overview Containers and workload security an overview
Containers and workload security an overview Krishna-Kumar
 
Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!Steve Wilson
 
Introduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker CaptainIntroduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker CaptainAjeet Singh Raina
 
Structured Container Delivery by Oscar Renalias, Accenture
Structured Container Delivery by Oscar Renalias, AccentureStructured Container Delivery by Oscar Renalias, Accenture
Structured Container Delivery by Oscar Renalias, AccentureDocker, Inc.
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep DiveWill Kinard
 
Moving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesMoving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesHussein Salman
 
Building a Platform-as-a-Service with Docker and Node.js
Building a Platform-as-a-Service with Docker and Node.jsBuilding a Platform-as-a-Service with Docker and Node.js
Building a Platform-as-a-Service with Docker and Node.jsKevin Swiber
 
Docker Registry V2
Docker Registry V2Docker Registry V2
Docker Registry V2Docker, Inc.
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingShailendra Chauhan
 
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18CodeOps Technologies LLP
 
NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013aspyker
 
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...Docker, Inc.
 

Mais procurados (20)

What is Docker?
What is Docker?What is Docker?
What is Docker?
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
 
Aks pimarox from zero to hero
Aks pimarox from zero to heroAks pimarox from zero to hero
Aks pimarox from zero to hero
 
DockerCon EU 2015: Monitoring Docker
DockerCon EU 2015: Monitoring DockerDockerCon EU 2015: Monitoring Docker
DockerCon EU 2015: Monitoring Docker
 
Containers and workload security an overview
Containers and workload security an overview Containers and workload security an overview
Containers and workload security an overview
 
Securing your Containers
Securing your ContainersSecuring your Containers
Securing your Containers
 
Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!Containers vs. VMs: It's All About the Apps!
Containers vs. VMs: It's All About the Apps!
 
Introduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker CaptainIntroduction to Docker Containers - Docker Captain
Introduction to Docker Containers - Docker Captain
 
Structured Container Delivery by Oscar Renalias, Accenture
Structured Container Delivery by Oscar Renalias, AccentureStructured Container Delivery by Oscar Renalias, Accenture
Structured Container Delivery by Oscar Renalias, Accenture
 
Docker Containers Deep Dive
Docker Containers Deep DiveDocker Containers Deep Dive
Docker Containers Deep Dive
 
Docker & kubernetes
Docker & kubernetesDocker & kubernetes
Docker & kubernetes
 
Moving Applications into Azure Kubernetes
Moving Applications into Azure KubernetesMoving Applications into Azure Kubernetes
Moving Applications into Azure Kubernetes
 
Building a Platform-as-a-Service with Docker and Node.js
Building a Platform-as-a-Service with Docker and Node.jsBuilding a Platform-as-a-Service with Docker and Node.js
Building a Platform-as-a-Service with Docker and Node.js
 
Docker Datacenter - CaaS
Docker Datacenter - CaaSDocker Datacenter - CaaS
Docker Datacenter - CaaS
 
Docker Registry V2
Docker Registry V2Docker Registry V2
Docker Registry V2
 
Introduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes TrainingIntroduction to Docker | Docker and Kubernetes Training
Introduction to Docker | Docker and Kubernetes Training
 
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
Power of Choice in Docker EE 2.0 - Anoop - Docker - CC18
 
NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013NetflixOSS for Triangle Devops Oct 2013
NetflixOSS for Triangle Devops Oct 2013
 
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
Infinit's Next Generation Key-value Store - Julien Quintard and Quentin Hocqu...
 

Semelhante a Containers docker-docker hub-azureacr-azure aci

Virtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesVirtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesabhishek chawla
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Kalkey
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)Gourav Varma
 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the Worlddamovsky
 
Rails Applications with Docker
Rails Applications with DockerRails Applications with Docker
Rails Applications with DockerLaura Frank Tacho
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker IntroductionSparkbit
 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM France Lab
 
Preparing your dockerised application for production deployment
Preparing your dockerised application for production deploymentPreparing your dockerised application for production deployment
Preparing your dockerised application for production deploymentDave Ward
 
Oracle database on Docker Container
Oracle database on Docker ContainerOracle database on Docker Container
Oracle database on Docker ContainerJesus Guzman
 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaRoman Dembitsky
 
Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!Clarence Bakirtzidis
 
Docker for developers - The big picture
Docker for developers - The big pictureDocker for developers - The big picture
Docker for developers - The big pictureGeorge Dyrrahitis
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerWeb à Québec
 
Docker in pratice -chenyifei
Docker in pratice -chenyifeiDocker in pratice -chenyifei
Docker in pratice -chenyifeidotCloud
 

Semelhante a Containers docker-docker hub-azureacr-azure aci (20)

Introduction to container based virtualization with docker
Introduction to container based virtualization with dockerIntroduction to container based virtualization with docker
Introduction to container based virtualization with docker
 
Docker Overview
Docker OverviewDocker Overview
Docker Overview
 
Virtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management servicesVirtualization, Containers, Docker and scalable container management services
Virtualization, Containers, Docker and scalable container management services
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Docker introduction (1)
Docker introduction (1)Docker introduction (1)
Docker introduction (1)
 
Dockerize the World
Dockerize the WorldDockerize the World
Dockerize the World
 
Rails Applications with Docker
Rails Applications with DockerRails Applications with Docker
Rails Applications with Docker
 
Docker Introduction
Docker IntroductionDocker Introduction
Docker Introduction
 
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
IBM Bluemix Paris Meetup #14 - Le Village by CA - 20160413 - Introduction à D...
 
Containers 101
Containers 101Containers 101
Containers 101
 
Docker
DockerDocker
Docker
 
Docker
DockerDocker
Docker
 
Preparing your dockerised application for production deployment
Preparing your dockerised application for production deploymentPreparing your dockerised application for production deployment
Preparing your dockerised application for production deployment
 
Oracle database on Docker Container
Oracle database on Docker ContainerOracle database on Docker Container
Oracle database on Docker Container
 
Docker
DockerDocker
Docker
 
DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 Barcelona
 
Using Docker in production: Get started today!
Using Docker in production: Get started today!Using Docker in production: Get started today!
Using Docker in production: Get started today!
 
Docker for developers - The big picture
Docker for developers - The big pictureDocker for developers - The big picture
Docker for developers - The big picture
 
Rami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with DockerRami Sayar - Node microservices with Docker
Rami Sayar - Node microservices with Docker
 
Docker in pratice -chenyifei
Docker in pratice -chenyifeiDocker in pratice -chenyifei
Docker in pratice -chenyifei
 

Mais de Rajesh Kolla

Azure Data services
Azure Data servicesAzure Data services
Azure Data servicesRajesh Kolla
 
Container orchestration k8s azure kubernetes services
Container orchestration  k8s azure kubernetes servicesContainer orchestration  k8s azure kubernetes services
Container orchestration k8s azure kubernetes servicesRajesh Kolla
 
Containers on azure web apps
Containers on azure web appsContainers on azure web apps
Containers on azure web appsRajesh Kolla
 

Mais de Rajesh Kolla (6)

Azure Data services
Azure Data servicesAzure Data services
Azure Data services
 
React js
React jsReact js
React js
 
Blazor web apps
Blazor web appsBlazor web apps
Blazor web apps
 
Container orchestration k8s azure kubernetes services
Container orchestration  k8s azure kubernetes servicesContainer orchestration  k8s azure kubernetes services
Container orchestration k8s azure kubernetes services
 
Containers on azure web apps
Containers on azure web appsContainers on azure web apps
Containers on azure web apps
 
Azure functions
Azure functionsAzure functions
Azure functions
 

Último

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 

Último (20)

Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Containers docker-docker hub-azureacr-azure aci

  • 1. 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
  • 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
  • 14. Thank you! Email: razesh.kolla@gmail.com Twitter: @RajeshKolla18 LinkedIn: https://be.linkedin.com/in/razeshkolla