Showing posts with label Docker. Show all posts
Showing posts with label Docker. Show all posts

Thursday, 29 July 2021

ORA-01882: timezone region not found in Docker

This Issue comes when the development environment and the DB Environment are different.For Eg: I have my Local Box running in the IST Zone and the docker container in UTC Zone....

PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

The above Error states that the server you are accessing has some certificate, and you did not have it in your machine. You have to import this local, in the case...

Starting Docker Images with PKI certificates

Before starting this post, Make Sure you copy the certificate to the location where you have the docker file. Edit the following docker file according to your requirement. My Requirement was...

Sunday, 18 July 2021

Kubernetes read local docker images

Follow the below steps to read the docker images from local instead of pulling them every time from the docker hub. By default, it always reads the images from the docker...

Thursday, 17 June 2021

Deploying SpringBoot Struts 2 Integration Project in Docker

 Follow my previous post and create the sample spring struts integration project from here.Create a Docker File: DockerfileFROM tomcat:latestADD target/SpringStrutsDemo-0.0.1-SNAPSHOT.war /usr/local/tomcat/webapps/EXPOSE 8080CMD ["catalina.sh","run"]Build and tag the Docker File:spring-strutsdemoC:\Users\Syed\Spring-workspace\SpringStrutsDemo>docker build -t spring-strutsdemo .Sending...

Sunday, 1 November 2020

Creating Jenkins pipeline to Build and deploy the Docker Image

 To Understand the Jenkins pipeline and trigger build refer to my previous here. Prerequisite.Install the Following plugins in Jenkins. navigating to ManageJenkins > ManagPluginsMaven Integration pluginDocker PipelineStep1: Create the Docker credentials in...

Sunday, 30 August 2020

How to Push the Images to Docker Hub

1.PackagingPackage your spring applications using the following command.mvn packageThis Command will do the package as specified on the pom.xml.2.Containerization.Tag the docker Image.Tag the Image with the Name in the local.docker build...

Friday, 12 June 2020

Understanding docker file

Docker can build images automatically by reading the instructions from a Dockerfile. A Dockerfile is a text document that contains all the commands a user could call on the command line...

Thursday, 11 June 2020

Spring Boot With Docker

We have seen more definition about the containerization and its time for us to see some original work in action.We will See in this post how to create a docker image...