Home » Docker

Tag Archives: Docker

Docker Tutorial part 1 – fistfull of container

In this docker tutorial series, my aim is to explain basics of docker and to do that with min number of words but maximum number of examples. Before doing anything I want you to install docker on your machine and I hope you have an idea what docker does. If not please check docker.com. Now let me explain two basic ...

Read More »

Database migrations in Kubernetes applications with Flyway

I’ve recorded a video how to migrate databases for applications that are deployed in a managed Kubernetes environment using Flyway and init containers. In order to achieve zero-downtime deployments, we need to make sure that our persistence concept supports N-1 compatibility, which requires us to be able to migrate our database schemas, ideally from reproducible scripts stored in version control. ...

Read More »

The Best and Worst of Times

The Horrible Dilemma of Dockerising Databases for Testing When working with database client code you have essentially got 4 options for testing: Mock out the entire dao layer – so your DB code isn’t tested – which is great when it’s entirely autogenerated and trustworthyMock the DB driver – an often messy implementation-driven rewrite-backwards of the client code just to ...

Read More »

Containerizing Spring Boot Applications with Buildpacks

In this article, we will see how to containerize the Spring Boot applications with Buildpacks. In one of the previous articles, I discussed Jib. Jib allows us to build any Java application as the docker image without Dockerfile. Now, starting with Spring Boot 2.3, we can directly containerize the Spring Boot application as a Docker image as Buildpacks support is ...

Read More »

Java/Cloud: How to Quickly Create a Kubernetes-ready REST Microservice

It is safe to say that the Microservice + Cloud combination is all the rage these days. Microservices are being developed more than ever, in turn resulting in an increase in the number of application deployments. During the past decade, containerization and orchestration tools such as Docker and Kubernetes were developed, making the microservice pattern really easy to adopt. This ...

Read More »

Apache Ignite and Spring on your Kubernetes Cluster Part 1: Spring Boot application

On a previous series of blogs we spun up an Ignite cluster on a Kubernetes cluster.In this tutorial we shall use the Ignite cluster created previously on with a Spring Boot Application. Let’s create our project using Spring Boot. The Spring Boot application will connect to the Ignite cluster. Let’s add our dependencies. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ...

Read More »