Running a Spring Boot 3 API on Docker with Source Code

Опубликовано: 14 Март 2026
на канале: PJL Software
101
2

In this code review, we'll review how we run our Spring Boot 3 application on Docker and why we'd want to.



Have you checked out someone's code on GitHub just to be unable to run it locally? Ever wonder why?

In this video we'll review why having source code often isn't enough, and how Docker can solve that problem for developers. We'll take our Spring Boot application that we're running locally, Docker-ize it, and run it as a container.

Code reviewed in this video: https://github.com/pjl-software/full-...

Chapters:
0:00 - Last Time on Code Reviews
0:50 - Why We're Using Docker
3:45 - Docker IRL Demo
7:50 - Bash Setup Scripts
10:55 - Bash Docker Scripts
13:23 - The Dockerfile
15:09 - Run Docker with docker-compose
19:20 - Logging into your Docker Image