Docker BuildKit : Faster Builds, Mounts and Features

It was like any other day working on micro-services project, running on Docker environment. In general, we’ve had worked on making our Image Builds more efficient, secure, and faster following basic aspects that significantly affect building and working with Docker.

  • Understanding Docker layers and structuring the Dockerfile to maximize their efficiency.
  • Reducing the weight of the Docker image, by being specific about our Base Image Tags which comes up with minimal packages.
  • Bringing the multi-stage builds concept, etc.
Continue reading “Docker BuildKit : Faster Builds, Mounts and Features”

Optimize Java 8 with Docker

The majority of businesses now are using Docker to run applications. They devote a lot of time, energy, and resources to stabilize their success and invest heavily in a variety of advanced observation techniques. Despite this, they are experiencing poor performance and the containers are being stressed as a result of the heavy traffic flow. The motive of this blog is to help those running Java applications on docker containers in getting optimal performance.

A lot of times people complain that the application does not seem to be running as well as it did on the server. Here are some things to keep in mind when running a Java program on Docker.

Continue reading “Optimize Java 8 with Docker”

Hidden Secrets of Dockerfile

Have you ever faced an issue in which while building the docker image, even though you have mentioned “apt-get -y update” the package you are trying to install is not found in the repository?

Here, in this blog, we are going to discuss two common scenarios that I faced along with the root cause of this problem. Let’s take a look.

First, it’s important to remember that valid intermediate images are not built again. They are loaded from cache. Dockerfile cache is considered valid if the build command gives a 0 return code.

Continue reading “Hidden Secrets of Dockerfile”

BuildPiper – A SAAS Playground

Buildpiper - A SAAS Playground

As of late, I took a dive at setting up and connecting WordPress with the database using container services. I created a website but couldn’t figure out where and how to deploy it. I was looking for a way with less exertion, at least expense, and minimum time. At this point, I thought of a Continue reading “BuildPiper – A SAAS Playground”

Setting Up Docker Overlay Network

When I set forth with my journey of containerization with docker, I have gone through a misconception that Overlay networking in docker can’t be set up without any orchestrator like Docker swarm, Kubernetes. But after spending some time with containers I realized that I was wrong, Orchestrators leverage the functionality of overlay networking but it is not true that we cannot use overlay networks without any swarm or Kubernetes.

Continue reading “Setting Up Docker Overlay Network”