SlideShare a Scribd company logo
1 of 35
Get Started with Google Cloud
Platform: Part 2 - Cloud Run and
Containers
Omar Fathy
Cloud DevOps Engineer @ _VOIS
linkedin.com/in/omarmfathy219
github.com/omarmfathy219
twitter.com/omarmfathy219
omarmfathy219@gmail.com
- Comparing Google Cloud computing solutions
- Virtual Machine vs Containers
- What is Docker?
- Docker Component
- Cloud Run
AGENDA
#1 Comparing Google Cloud computing solutions
Compute
Engine
App
Engine
GKE
IaaS Hybrid PaaS
Serverless
logic
Cloud
Functions
Container Deployments
Cloud
Run
Stateless
Comparing Google Cloud computing solutions
Compute Engine
Fully customizable virtual machines
Persistent disks and optional local SSDs
Global load balancing and autoscaling
Per-second billing
Compute Engine Use Cases
Well suited for lift-and-shift migrations to
the cloud
2
Most flexible compute solution, often used
when a managed solution is too restrictive
3
Complete control over the OS and
virtual hardware
1
Compute Engine Use Cases
Well suited for lift-and-shift migrations to
the cloud
2
Most flexible compute solution, often used
when a managed solution is too restrictive
3
Complete control over the OS and
virtual hardware
1
App Engine
Provides a fully managed, code-first platform.
Streamlines application deployment and scalability.
Provides support for popular programming languages and
application runtimes.
Supports integrated monitoring, logging, and diagnostics.
Simplifies version control, canary testing, and rollbacks.
App Engine use cases
Mobile app and gaming backends
2
RESTful APIs
3
Quickly Deploy Websites
1
Cloud Run
Enables stateless containers.
Abstracts away infrastructure management.
Automatically scales up and down.
Open API and runtime environment.
Cloud Run use cases
Build applications in any
language using any frameworks
and tools.
2
Deploy stateless containers that
listen for requests or events.
1
Google Kubernetes Engine
Fully managed Kubernetes platform
Supports cluster scaling, persistent disks, automated upgrades, and auto
node repairs
Built-in integration with Google Cloud services
Portability across multiple environments
● Hybrid computing
● Multi-cloud computing
Google Kubernetes Engine Use Cases
Cloud-native distributed systems
2
Hybrid applications
3
Containerized applications
1
#2 Virtual Machine vs Containers
Containers
● Containers are a method of packaging an application
executable and its dependencies (runtime, system tools,
system libraries, configuration)
● Running the package as a set of resource-isolated
processes
● Keywords associated with containers:
○ Lightweight
○ Portable/Standard
○ Productivity
○ Secure
○ Resource Efficient
Bare Metal
OS
Dependencies
Application Code
Hardware
Virtual Machines
OS
Dependencies
Application
Code
Hardware
Container
OS
Dependencies
Application Code
Virtual Machines
Virtual Machine vs Containers
#3 What is Docker?
Docker is a platform designed to help developers build, share, and run
container applications. We handle the tedious setup, so you can focus on
the code.
What is Dcoker?
#4 Docker Components?
• It is a simple text file with a set of commands or instructions.
• These commands/instructions are executed successively to perform actions on the base image to
create a new docker image.
• It will help you create custom Docker images.
• Each instruction present in the docker file, represents a layer of the docker image.
Dokcerfile
Dokcerfile cont..
FROM ubuntu:20.04
COPY . /app
RUN make /app
CMD python /app/app.py
Dockerfile
• A Docker image is made up of a collection of files that bundle together that are essential for the
application.
• It is read-only templates that you build from a set of instructions written in a Docker file.
• The docker build command builds an image from a Dockerfile by reading the instructions from a Dockerfile.
• Images define both what you want your packaged application and its dependencies to look like
what processes to run when it’s launched.
Docker Image
A Docker registry is a repository holds all the versions of your image.
Docker Registry
Container Images
build
Image
aa18ad1a0d33
15a33158a136
F67323742a64 (base image)
Dockerfile
push
Registry
• Containers are the structural units of Docker, which are used to hold the entire package that is
needed to run the application.
• A Docker container is a virtualized run-time environment of the docker images.
• In other words, we can say that the image is a template, and the container is the instance of the
template.
Docker Container
#5 Cloud Run
Cloud Run
Cloud Run is a managed compute platform that lets you run containers
directly on top of Google's scalable infrastructure.
Demo Time
That’s all,
Thank you!

More Related Content

Similar to Get Started with Google Cloud Platform: Part 2 - Cloud Run and Containers

DCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDocker, Inc.
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...Matteo Bisi
 
.docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c....docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c...Andrea Fontana
 
Michigan IT Symposium 2017 - Container BOF
Michigan IT Symposium 2017 - Container BOFMichigan IT Symposium 2017 - Container BOF
Michigan IT Symposium 2017 - Container BOFJeffrey Sica
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...ICON UK EVENTS Limited
 
Intro to docker and kubernetes
Intro to docker and kubernetesIntro to docker and kubernetes
Intro to docker and kubernetesMohit Chhabra
 
Azure ai on premises with docker
Azure ai on premises with  dockerAzure ai on premises with  docker
Azure ai on premises with dockerVishwas N
 
Introduction to Dockers.pptx
Introduction to Dockers.pptxIntroduction to Dockers.pptx
Introduction to Dockers.pptxHassanRaza40719
 
Docker introduction & benefits
Docker introduction & benefitsDocker introduction & benefits
Docker introduction & benefitsAmit Manwade
 
Introduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataIntroduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataInfluxData
 
What is Docker & Why is it Getting Popular?
What is Docker & Why is it Getting Popular?What is Docker & Why is it Getting Popular?
What is Docker & Why is it Getting Popular?Mars Devs
 

Similar to Get Started with Google Cloud Platform: Part 2 - Cloud Run and Containers (20)

DCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and ArchitectureDCSF 19 Docker Enterprise Platform and Architecture
DCSF 19 Docker Enterprise Platform and Architecture
 
Docker Overview
Docker OverviewDocker Overview
Docker Overview
 
docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...docker : how to deploy Digital Experience in a container drinking a cup of co...
docker : how to deploy Digital Experience in a container drinking a cup of co...
 
.docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c....docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c...
 
Michigan IT Symposium 2017 - Container BOF
Michigan IT Symposium 2017 - Container BOFMichigan IT Symposium 2017 - Container BOF
Michigan IT Symposium 2017 - Container BOF
 
Docker
DockerDocker
Docker
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
 
Docker for dev
Docker for devDocker for dev
Docker for dev
 
Docker handons-workshop-for-charity
Docker handons-workshop-for-charityDocker handons-workshop-for-charity
Docker handons-workshop-for-charity
 
Webinar : Docker in Production
Webinar : Docker in ProductionWebinar : Docker in Production
Webinar : Docker in Production
 
Axigen on docker
Axigen on dockerAxigen on docker
Axigen on docker
 
Intro to docker and kubernetes
Intro to docker and kubernetesIntro to docker and kubernetes
Intro to docker and kubernetes
 
Azure ai on premises with docker
Azure ai on premises with  dockerAzure ai on premises with  docker
Azure ai on premises with docker
 
Introduction to Dockers.pptx
Introduction to Dockers.pptxIntroduction to Dockers.pptx
Introduction to Dockers.pptx
 
Docker introduction & benefits
Docker introduction & benefitsDocker introduction & benefits
Docker introduction & benefits
 
Docker with devops program
Docker with devops programDocker with devops program
Docker with devops program
 
Docker with devops program
Docker with devops programDocker with devops program
Docker with devops program
 
Docker and kubernetes
Docker and kubernetesDocker and kubernetes
Docker and kubernetes
 
Introduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxDataIntroduction to Docker and Monitoring with InfluxData
Introduction to Docker and Monitoring with InfluxData
 
What is Docker & Why is it Getting Popular?
What is Docker & Why is it Getting Popular?What is Docker & Why is it Getting Popular?
What is Docker & Why is it Getting Popular?
 

More from Omar Fathy

GitOps and ArgoCD
GitOps and ArgoCDGitOps and ArgoCD
GitOps and ArgoCDOmar Fathy
 
DevOps! What, Why and How?
DevOps! What, Why and How?DevOps! What, Why and How?
DevOps! What, Why and How?Omar Fathy
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud ComputingOmar Fathy
 
Capture The Flag
Capture The FlagCapture The Flag
Capture The FlagOmar Fathy
 
Google Cloud Fundamentals
Google Cloud Fundamentals Google Cloud Fundamentals
Google Cloud Fundamentals Omar Fathy
 
Introduction to Git and GitHub Part 2
Introduction to Git and GitHub Part 2Introduction to Git and GitHub Part 2
Introduction to Git and GitHub Part 2Omar Fathy
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Omar Fathy
 

More from Omar Fathy (7)

GitOps and ArgoCD
GitOps and ArgoCDGitOps and ArgoCD
GitOps and ArgoCD
 
DevOps! What, Why and How?
DevOps! What, Why and How?DevOps! What, Why and How?
DevOps! What, Why and How?
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Capture The Flag
Capture The FlagCapture The Flag
Capture The Flag
 
Google Cloud Fundamentals
Google Cloud Fundamentals Google Cloud Fundamentals
Google Cloud Fundamentals
 
Introduction to Git and GitHub Part 2
Introduction to Git and GitHub Part 2Introduction to Git and GitHub Part 2
Introduction to Git and GitHub Part 2
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 

Recently uploaded

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 

Recently uploaded (20)

Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 

Get Started with Google Cloud Platform: Part 2 - Cloud Run and Containers

  • 1. Get Started with Google Cloud Platform: Part 2 - Cloud Run and Containers
  • 2. Omar Fathy Cloud DevOps Engineer @ _VOIS linkedin.com/in/omarmfathy219 github.com/omarmfathy219 twitter.com/omarmfathy219 omarmfathy219@gmail.com
  • 3. - Comparing Google Cloud computing solutions - Virtual Machine vs Containers - What is Docker? - Docker Component - Cloud Run AGENDA
  • 4. #1 Comparing Google Cloud computing solutions
  • 5. Compute Engine App Engine GKE IaaS Hybrid PaaS Serverless logic Cloud Functions Container Deployments Cloud Run Stateless Comparing Google Cloud computing solutions
  • 6. Compute Engine Fully customizable virtual machines Persistent disks and optional local SSDs Global load balancing and autoscaling Per-second billing
  • 7. Compute Engine Use Cases Well suited for lift-and-shift migrations to the cloud 2 Most flexible compute solution, often used when a managed solution is too restrictive 3 Complete control over the OS and virtual hardware 1
  • 8. Compute Engine Use Cases Well suited for lift-and-shift migrations to the cloud 2 Most flexible compute solution, often used when a managed solution is too restrictive 3 Complete control over the OS and virtual hardware 1
  • 9. App Engine Provides a fully managed, code-first platform. Streamlines application deployment and scalability. Provides support for popular programming languages and application runtimes. Supports integrated monitoring, logging, and diagnostics. Simplifies version control, canary testing, and rollbacks.
  • 10. App Engine use cases Mobile app and gaming backends 2 RESTful APIs 3 Quickly Deploy Websites 1
  • 11. Cloud Run Enables stateless containers. Abstracts away infrastructure management. Automatically scales up and down. Open API and runtime environment.
  • 12. Cloud Run use cases Build applications in any language using any frameworks and tools. 2 Deploy stateless containers that listen for requests or events. 1
  • 13. Google Kubernetes Engine Fully managed Kubernetes platform Supports cluster scaling, persistent disks, automated upgrades, and auto node repairs Built-in integration with Google Cloud services Portability across multiple environments ● Hybrid computing ● Multi-cloud computing
  • 14. Google Kubernetes Engine Use Cases Cloud-native distributed systems 2 Hybrid applications 3 Containerized applications 1
  • 15. #2 Virtual Machine vs Containers
  • 16.
  • 17. Containers ● Containers are a method of packaging an application executable and its dependencies (runtime, system tools, system libraries, configuration) ● Running the package as a set of resource-isolated processes ● Keywords associated with containers: ○ Lightweight ○ Portable/Standard ○ Productivity ○ Secure ○ Resource Efficient Bare Metal OS Dependencies Application Code Hardware Virtual Machines OS Dependencies Application Code Hardware Container OS Dependencies Application Code Virtual Machines
  • 18. Virtual Machine vs Containers
  • 19.
  • 20.
  • 21. #3 What is Docker?
  • 22. Docker is a platform designed to help developers build, share, and run container applications. We handle the tedious setup, so you can focus on the code. What is Dcoker?
  • 24.
  • 25. • It is a simple text file with a set of commands or instructions. • These commands/instructions are executed successively to perform actions on the base image to create a new docker image. • It will help you create custom Docker images. • Each instruction present in the docker file, represents a layer of the docker image. Dokcerfile
  • 26. Dokcerfile cont.. FROM ubuntu:20.04 COPY . /app RUN make /app CMD python /app/app.py Dockerfile
  • 27. • A Docker image is made up of a collection of files that bundle together that are essential for the application. • It is read-only templates that you build from a set of instructions written in a Docker file. • The docker build command builds an image from a Dockerfile by reading the instructions from a Dockerfile. • Images define both what you want your packaged application and its dependencies to look like what processes to run when it’s launched. Docker Image
  • 28. A Docker registry is a repository holds all the versions of your image. Docker Registry
  • 30. • Containers are the structural units of Docker, which are used to hold the entire package that is needed to run the application. • A Docker container is a virtualized run-time environment of the docker images. • In other words, we can say that the image is a template, and the container is the instance of the template. Docker Container
  • 31.
  • 33. Cloud Run Cloud Run is a managed compute platform that lets you run containers directly on top of Google's scalable infrastructure.