
Learn what Docker is, an open source platform for building and running containerized applications, and how containerization solves 'it works on my machine' issues across development, testing, and production environments.
Discover how Docker provides a containerized, open source platform that bundles dependencies, configuration, and server into a portable unit, ensuring consistent, platform-neutral deployment across environments.
Install the Docker engine by signing up at Docker Hub, downloading the Windows, Mac, or Linux installer, completing setup, then sign in and verify Docker runs with a command.
Create a Dockerfile to containerize a Spring Boot app, using the OpenJDK 11 base image, expose port 880, copy the target jar, and set the entrypoint to java -jar.
Push your Docker image to Docker Hub or cloud registries, tag it with a version, create a repository, and then pull or deploy via CI/CD.
Learn how to pull and run Docker images, create containers, and map host ports to expose multiple applications from a multi-application Docker setup using Docker Hub and local registries.
Learn how to run multiple containers from the same image, map unique ports, and manage container lifecycles with Docker run, Docker ps, and Docker kill, plus push and pull workflows.
Create a dockerfile for the springboot app using openjdk 11, copy necessary files, expose ports, and set the entry point to start the application, preparing for docker-compose with mongodb.
Build a docker image from the springboot app using the dockerfile, tag it, and push to docker hub after a clean install to avoid deploying an old version.
Explore how Docker Compose defines and runs multi-container applications with a YAML file, letting you start the database and Spring Boot app with a single command.
Create a docker-compose file to orchestrate a spring boot CRUD app with linked containers, including a MongoDB service and the application service with image, container name, and port mappings.
Run and test a Spring Boot CRUD app with Docker Compose, start linked containers, verify the app connects to the database, and manage multiple services with simple syntax.
Source code for Springboot with Docker
Source Code for Springboot and MongoDB with Docker, Docker Compose
Learn everything about Docker & run your Springboot apps & Database inside containers using Docker & Docker Compose
Following are the topics that you will learn in this course:
What is the need to run applications inside the container
What is Docker
What is Image
What is Container
What is Docker hub
What is Dockerfile
Benefits of using Docker and running applications inside a container
How to create your own Dockerfile
How to build Docker image and Run a container from it
Convert your normal springboot application into a docker based container application
Run database inside the container
How to enable inter container communication so that different applications can talk to each other
How check logs inside running container
How to enter inside a running container
How list all images
How to list all running containers
How to delete image and container
What is Docker compose and why is it needed
How to write a Docker compose file
How to run multiple containers from a Docker compose file
Containers helps to achieve microservices architecture
Containers are backbone of the Kubernetes clusters
You will learn to create springboot application from spring initializer
You will learn about docker hub, its repositories, docker images, tags within each image
You will learn how to tag docker image to a specific version
You will learn to build code again and build image again with a new tag and push it to docker hub
You will get the complete source code of the application which you can refer and do changes according to your need and play around with it to further enhance your knowledge.