containers
initializr
containers | initializr | |
---|---|---|
9 | 258 | |
191 | 3,354 | |
3.1% | 0.6% | |
8.7 | 8.8 | |
4 days ago | 12 days ago | |
Dockerfile | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
containers
-
Need a VM for Java 11 and a specific Program - which distro to choose?
eclipse-temurin:11 https://hub.docker.com/_/eclipse-temurin
-
CentOS 7 vs CentOS Stream vs Rocky vs Alma vs Debian vs Ubuntu for server
Then you build the container. That will download that container that already has linux with java on it, like this one: https://hub.docker.com/_/eclipse-temurin
- Primeiros passos no desenvolvimento Java em 2023: um guia particular
-
From Java to Golang and back
You can shrink the docker image greatly by starting with an Alpine based one like this https://hub.docker.com/_/eclipse-temurin
-
MinIO passes 1B cumulative Docker Pulls
> Just imagine the vast number of poorly cached CI jobs pulling gigabytes from Docker hub on every commit, coupled with naive aproaches to CI/CD when doing microservices, prod/dev/test deployments, etc.
I hit the rate limits that others talk of in the comments, which motivated me to use Nexus for both proxying and storing my own container images.
So far, it's been pretty good, I actually wrote about the process on my blog, "Moving from GitLab Registry to Sonatype Nexus": https://blog.kronis.dev/tutorials/moving-from-gitlab-registr...
Another thing that I tried, however, was to only rely upon Docker Hub for the base images that I want (Ubuntu in my case) and then build everything I need on top of that, doing things like installing Java/Node/Python/Ruby/... manually, adding utilities I want across all of the images etc.
Once again, I wrote about it on my blog, "Using Ubuntu as the base for all of my containers": https://blog.kronis.dev/articles/using-ubuntu-as-the-base-fo...
That approach is absolutely more work, but also is something that's underexplored and works really nicely for me. Now I mostly rely on the OS package manager repositories (or mirrors of those), put less load on Docker Hub, don't risk running into its rate limits and also have common base layers across most of the images that I build, which in practice means less data actually needing to be downloaded to any of the servers where I want to utilize my images.
Of course, the downside is that getting something like PHP running was an absolute pain (tried with Apache, didn't work for some reason, then moved over to Nginx), and I technically miss out on some of the more complex space optimizations because if you look at the Dockerfiles for some of the more popular images, like OpenJDK, you'll occasionally see some interesting approaches, like getting the software package as a bunch of files and "installing" them directly, as opposed to using something like apt/yum: https://github.com/adoptium/containers/blob/08dd7d416cee0fe0...
Then again, personally I'd much prefer to rely on packages that I can get from something like apt directly, even if some of those versions can be a bit older (or add the project's official apt repositories as needed).
-
Question?
The FROM looks incorrect. When i watch the Youtube video it mentions adoptopenjdk which is deprecated (https://hub.docker.com/\_/adoptopenjdk). You now should use https://hub.docker.com/_/eclipse-temurin/.
- Uberjar hosting services?
-
Java eclipse temurin:18.0.1_10-jre-alpine is out ! Now what ?
Eclipse Temurin is maintaining a rich collection of Java images.
-
Anyone using the Alpine Musl JDK builds in production?
Intially only the 17 was the musl-native variant, later added 11 and very recently (6 days ago) for 8 as well: https://github.com/adoptium/containers/issues/72
initializr
- Como funciona um Load Balance e como implementar utilizando Nginx.
-
Develop your Tomcat App with Docker Compose Watch
The best way, for generating a ready-to-run application in Java you can use the Spring Boot Initializr tool.
-
Consuming and Testing third party API's using Spring Webclient
curl --location 'https://start.spring.io/starter.zip?type=maven-project&language=java&bootVersion=3.2.2&baseDir=ms-xcoffee&groupId=com.xcoffee&artifactId=ms-xcoffee&name=ms-xcoffee&description=Demo%20project%20for%20Spring%20Boot&packageName=com.xcoffee.ms-xcoffee&packaging=jar&javaVersion=21&dependencies=webflux%2Clombok%2Cvalidation' | tar -xzvf -
-
Spring boot and PostgreSQL in Docker Compose
In this segment we will create a basic Spring boot app from Spring Initializer. Add the below dependencies:
-
Spring Data MongoDB — CRUD, Aggregations, Views and Materialized Views
Add the following MongoDB dependencies in your pom.xml or use spring initializer and select the Spring Data MongoDB dependency:
- AWS SQS: Como publicar e consumir mensagens com Spring Cloud AWS
-
Java Microservices with Spring Boot and Spring Cloud
I created all of these applications using start.spring.io's REST API and HTTPie.
-
Run a java service serverless with ECS and Fargate
An easy way to create the skeleton project is to visit Spring Initializr, I set the Project to Gradle - Groovy, Language to Java, and add Spring Web dependency. Then it's just to generate the project and unpack it.
-
A Passwordless Future! Passkeys for Java Developers
Create a new Spring Boot application using the Spring Initializr. You can use the web version or the curl command below. Use the default for most of the options. For the dependencies, select web, and okta. For the build tool, select Gradle.
-
Spring Cloud Functions, Kafka | How to interact asynchronous
I will start with a simple example of a cloud function, which is the same as a rest endpoint in the classical spring boot web application. You can create a project from your favorite IDE or from Spring Initliazr.
What are some alternatives?
docker-images - Official source of container configurations, images, and examples for Oracle products and projects
JHipster - JHipster, much like Spring initializr, is a generator to create a boilerplate backend application, but also with an integrated front end implementation in React, Vue or Angular. In their own words, it "Is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures."
zsh-in-docker - Install Zsh, Oh-My-Zsh and plugins inside a Docker container with one line!
Spring Boot - Spring Boot
grype - A vulnerability scanner for container images and filesystems
Javet - Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.
Dragonfly - This repository has be archived and moved to the new repository https://github.com/dragonflyoss/Dragonfly2.
elastic-beanstalk-roadmap - AWS Elastic Beanstalk roadmap
jetson-containers - Machine Learning Containers for NVIDIA Jetson and JetPack-L4T
jhipster-sample-app - This is a sample application created with JHipster
minecraft-docker
spring-petclinic - A sample Spring-based application