Docker- Docker is an open-source centralized platform designed to create, deploy, and run applications.
Docker uses container on the host's operating system to run applications.
Before Docker, many users face the problem that a particular code is running in the developer's system but not in the user's system.
So, the main reason to develop docker is to help developers to develop applications easily, ship them into containers, and can be deployed anywhere.
Docker Software Requirements-
A] Install Docker Desktop for Windows-
https://docs.docker.com/desktop/windo...
B] Download and install the Linux kernel update package-
https://docs.microsoft.com/en-us/wind...
C] Select Windows logo key + R, type winver, select OK.
You can update to the latest Windows version by selecting Start Settings *Windows Update * Check for updates.
---------------------------------------------------------------------------------
Steps for Docker Spring Boot Application-
1. Create Dockerfile under project root folder- Below are the contents-
FROM openjdk:17
LABEL maintainer="com.fullstack"
ADD target/springbootdockerex-0.0.1-SNAPSHOT.jar springbootdockerex.jar
ENTRYPOINT ["java", "-jar", "springbootdockerex.jar"]
2. Build Docker Image-
docker build -t springbootdockerex:latest .
3. Run Docker Image in a Container-
docker run -p 8081:8080 springbootdockerex
--------------------------------------------------------------------------------
#Springboot #Java #Fullstack #Software #JarFile #JavaDevelopment #BuildTools #SoftwareDevelopment
GitHub Link- https://github.com/fullstackjavadevel...
Connect with us:
Call or WhatsApp: +91 7887575991 / 020 47212644 [24/7 Support]
Visit: fullstackjavadeveloper.in
Facebook - / fullstackjavadeveloper
LinkedIn - / full-stack-java-developer-pune
Instagram - / fullstackjavadeveloper
Meet Mr. Kiran Jadhav :
Software Architect | Full Stack Book Author | Technical Keynote Speaker
LinkedIn - / kiran-jadhav-22649b99
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Full Stack Java Developer, Pune
#CodeDeployment #JavaApp #Programming #DevLife #TechTips #FileManagement #Coding #OpenSource #Java #TechTutorial #DeveloperCommunity #JavaProjects #LearnToCode #AppDevelopment #WebDevelopment #TechEducation #like #share #comment
Disclaimer/Policy:
--------------------------------
Note: All uploaded content in this channel is mine and it’s not copied from any community, you are free to use source code from above mentioned GitHub account