Create a Docker image for the Spring Boot 3 Todo Application from scratch
ฝัง
- เผยแพร่เมื่อ 4 ส.ค. 2024
- In this tutorial, we go through the process of adding Docker support to our Spring Boot 3 Todo Application that we started in a previous tutorial ( • Build an ENTIRE TODO W... )
Given the power and strength of Docker, this is only an introduction to what you can with Docker containers.
Get the Code! github.com/wazooinc/spring-bo...
===---=== Concepts ===---===
- Docker and Containerization
===---=== Chapters ===---===
00:00 - Introduction
05:10 - Creating the Dockerfile
08:35 - docker build image -t v1
09:09 - docker image ls
09:41 - docker run v1
11:04 - docker extension in vs code
11:37 - Updating Dockerfile for openjdk:19
12:00 - docker build image -t v2
12:23 - docker run v2
15:12 - Using docker-compose.yml
17:18 - docker-compose up
18:07 - docker-compose up -d
18:34 - docker-compose down
19:15 - docker ps
20:27 - Adding a Build phase to Dockerfile
24:01 - docker build image -t v3
28:04 - docker-compose up --build web
29:00 - Outro
#Java
#SpringBoot
#Tutorial
🔗Resources & Links mentioned in this video:
- Spring Initializr: start.spring.io/
- Visual Studio Code: code.visualstudio.com/
- Spring Boot Dashboard Extension: marketplace.visualstudio.com/...
- Docker client: www.docker.io
👋🏻Connect with me:
Twitter: / eyuzwa - วิทยาศาสตร์และเทคโนโลยี
Adding some basic Docker support to the Spring Boot 3 Todo application! Link to the source code is in the description - thanks!
Hey thanks a lot guys! Tried to find some other videos for basic java pet projects and yours is the best one so far :)
web application with authentication, multiple tables and angular are kinda too difficult for now and this works just great!
Have seen a lot of positions that require some Docker knowledge so this video is def next!
Thank you so much for the feedback - yeah I'm never sure how "much" to tackle in a video - still learning. Hope this helps you on your path!
very usefull content, thanx a lot!
thank you so much!! I really hope it helped!