I am very happy to announce that I started working on a new video course. This video course will be about Docker and Kubernetes for Java developers working with Spring Boot Microservices.
This course will be launched in two phases:
-
Docker for Java Developers Working with Spring Boot Microservices.
- Kubernetes for Java Developers Working with Spring Boot Microservices.
Below is an initial curriculum plan for phase #1.
Docker for Java Developers Working with Spring Boot Microservices
1. Introduction to Docker
- What is Docker?
- Docker File, Image, Container,
- Installing Docker on Windows,
- Installing Docker on Mac,
- Demo: Run MySQL in Docker Container,
- Demo: Run PostgreSQL in Docker Container,
- Getting Help with Docker Commands.
2. Working with Existing Docker Containers
- DockerHub. Where to find Docker Containers?
- Downloading Docker Images,
- Running Docker Container from an image,
- Common Docker Commands: Start, Logs, Stop, Remove, Help,
- Docker Image Layers.
3. Docker File
- Introduction to Docker file,
- Creating a new Docker file,
- FROM,
- COPY,
- ENTRYPOINT,
- Building Docker Image,
- ENTRYPOINT parameters,
- LABEL,
- WORKDIR,
- RUN,
- ARG,
- ENV,
- CMD,
- .dockerignore
- Tagging Docker Image,
- Docker Image Name formats,
- Docker Image Tags: Semantic Versioning,
- Docker Image Tags: Meta Information,
- Inspecting Docker Image.
4. Docker file: Multi-stage build
- Introduction to multi-stage builds,
- Multi-stage build structure overview,
- Creating a new docker file,
- Stage 1 – Download dependencies,
- Stage 2 – Building the app,
- Stage 3 – Creating a lightweight runtime,
- Building the image
5. Docker containers
- Run Spring Boot application in a Docker Container,
- Stopping Docker Containers,
- Publishing Port number. Port Mapping,
- Listing and filtering docker containers,
- Deleting Docker Containers,
- Docker Run, Stop, Start commands,
- Container name,
- Attached and Detached mode,
- Viewing Container logs,
- Command-line arguments: Spring Boot profile,
- Environment variables: Spring Boot profile,
- Environment variables: Port number,
- Environment file,
- Running multiple instances of Spring Boot application in Docker Containers,
- Executing Commands inside Docker Container,
5. Docker Storage Options
- Introduction to Storage Options,
6. Docker Storage Options: Anonymous Volume
- Introduction to Anonymous Volume,
- Creating a New Anonymous Volume,
- Using Docker Desktop to work with Anonymous volume,
- Using Docker CLI to work with Anonymous volume.
- View Data in Anonymous volume,
- Inspecting Docker Container and Volume.
7. Docker Storage Options: Named Volume
- Introduction to Named Volume
- Creating a New Named Volume,
- View data in a Named Volume,
- Re-Attaching Named Volume,
- Deleting Named Volume.
8. Docker Storage Options: Bind Mount
- Introduction to Bund Mount
- Working with Bind Mount,
- Bind Mount for a Database container.
9. Docker Storage Options: tmpfs Mount
- Introduction to tmpfs Mount
- Working with tamps Mount.
10. Docker Networks
- Introduction to Docker Networks,
- Container to Host Machine(localhost) communication,
- Container to Container communication,
- Creating Custom Docker Network.
11. DockerHub: Publishing and Sharing Docker Images
- Work in progress…
12. Docker Compose
- Work in progress…
13. Spring Cloud in Docker Containers
- Work in progress…