Introduction – challenges building and deploying Microservices
What are Containers ? How different from VMs ?
- Old Story & Cloud Computing
- How are these VMs created ?
- Problems deploying Microservices on VMs ?
- How are containers different from VMs ?
Definition of Containers, Containerization, Docker
- What is a container?
- What is Software Containerization ?
- What is Docker ?
- What happens inside the Containerization concept ?
- Namespaces
- cgroups
- How Docker works on MacOS & Windows
Docker Components & Architecture
Docker Installation
Docker Image Generation
Docker File – Generating Docker Image – Approach 1
- Behind Scenes – What are the steps ?
- Writing the Docker File
- Generate Docker Image from Dockerfile
- Check for all Docker images – from CLI
- Inspect Docker image
- Run a Docker Container from Docker image
- docker run
- Run container in detached mode
- Know existing containers
- Start/Stop existing Docker container
- Create multiple containers from a Docker Image
- Port mapping in Docker
- Steps to be Followed
- Challenges with Dockerfile approach
BuildPacks – Generating Docker Image – Approach 2
- What are Buildpacks ?
- How to generate Docker image using Buildpacks ?
- Check for all Docker images – from CLI
- Run a Docker Container from Docker image
- docker run
- Steps followed
Google Jib – Generating Docker Images
Dockerfile v/s Buildpack v/s Google Jib
Pushing Docker images from local system to remote Docker Hub repository
- docker image push command
- Validate Images in Docker repository
- Pull the image from Docker repository
Docker Compose
- Need for Docker Compose
- What is it ?
- Check Docker Compose version
- Get started with Docker Compose
- Creating Microservices in a single network
- Running all Microservices using Docker Compose file
- Stopping all the containers