Simple, and to the point. I have gone through videos and courses on various platforms but nothing was as easy as this one. In just 10 mins, you made me "docker-ready".
I went all over the place trying to figure out how to incorporate docker with an existing Spring Boot application, but every tutorial or guide left quite a bit out (probably assuming I knew more than I did). You managed to make an easy to follow tutorial that filled in all the gaps. Hat off to you sir!!
I came across this channel in RU-vid when I searched for Docker. Pretty simple and straight forward tutorial on Docker for beginners like me. Ofcourse, subscribed to your channel now!
I tried this in windows 7 with docker toolbox. It's working. Troubleshooting tips: 1. In case if you are facing i/o issues while executing docker run command, go to your windows DNS settings and provide fix DNS with 8.8.8.8 it will resolve the issue. 2. Regarding the port mapping issue, you can still run the application with container ip followed by port and rest endpoint.
I am so thankful to this video it saved my day...it has awesome explanation with a very good example. I was wanting to understand docker without spending much time. It helped a lot. Thanks
Yeah, same thoughts ... instead of adding port in property & pushing it back, would have mapped 8080:8085. But it happens while tracing. Others it was really nice video & make it easier to learn. Hats off to the tech primer team.
Thank you Tech Primers! I was scared of building docker images of spring boot apps since i was used to use the magic maven plugin in pom file but now I see it as simple as drinking water thanks to you! Thank You So Much Bro!
To beginners of intellij such as myself.... You need to go to Intellij>perference>plugins . search for Docker integration and install it for IDE to recognize Dockerfile. Awsome video... thanks again
If you ever going to redo this tutorial , you might want to consider, to use the *-alpine image as your base image. The default openjdk base images are using ubuntu ( I guess?) Alpine is much more light weight and should be preferred whereever possible to save, time, space, traffic, etc. Besides that: great video :)
agreeing with all these guys who commented positively on your video. You really good tutorials :) Can you make a part 2, which would be docker build and run from pom.xml?