DevOps Classroom notes 18/Jul/2026

Basic for Docker pipeline

  • Create dockerhub account click_here
  • Local Docker setup
    • wsl (run below cmd powershell as admin)
      • wsl --install
      • Restart windows
    • Docker desktop install

FROM ubuntu
RUN sudo apt-get install openjdk-17-jdk -y \
    && sudo apt install maven -y

RUN mvn clean package

CMD ["java", "-jar", "target/spring-petclinic-4.0.0-SNAPSHOT.jar"]

  • Docker image build -t demo:1.0.0 .

install docker manually

Refer_here

Docker_workflow

Image_build workflow

Leave a comment

Turn on JavaScript to leave a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company
Exit mobile version
%%footer%%