🥑 Language focused docker images, minus the operating system.
Since there are no package managers installed and you cannot do ssh to your container running with distroless base image makes them hard for debugging. In an ideal world, you would add better logging then you know enable shell access for your containers. But there are ways with which you can add shell support and debug your application.
A tool for exploring each layer in a docker image
You can inspect images created by Jib using the Dive tool. As you can see on RHS, we have exploded directory structure for classes, resources and dependencies in the following path and their size is very minimal.
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
This project is about Containerizing a Spring Boot Application With Jib
Furthermore to dig deeper, now we will use the simple spring boot application that was used in the previous article. The source code is available here. We will run maven in debug mode to understand these layers. However, In the following logs, you will see only dependencies, resources, and classes as separate layers since we don't have other dependencies.
Important Docker Commands To Know As A Beginner
3 projects | dev.to | 5 Aug 2021
Beginners Introduction to Dockerfile
1 project | dev.to | 11 May 2021
Ko: Easy Go Containers
2 projects | news.ycombinator.com | 8 Nov 2023
Spring Boot 3.1 RC1 is here - with support for Testcontainers and docker compose
2 projects | /r/java | 23 Apr 2023
Spring Boot with docker-compose cannot store any data in mongodb and mysql
1 project | /r/docker | 26 Mar 2023