Skip to content

Tag: docker

Gluonfx build using docker fails, with error: Cannot run program “ie4uinit”: CreateProcess error=2, The system cannot find the file specified

I’m building a native image using the Gluonfx plugin. I’m doing this procedure inside a docker container. The image builds the 7 steps, but doing the link throws an error complaining about missing ie4uinit.exe. These are the error logs: I would like to know if it’s possible to add this dependency to my docker image. Or, if not possible, a

How can i connect to the oracle database between docker containers?

I have two containers that is created from docker-compose, one has api with springboot and the other oracle database, however it does’n connect the api to the database and I already ran out options, I tried configure the connection in the aplication.properties and also docker-compose.yml This is docker-compose.yml Dockerfile aplication.properties (The connection was commented because in the docker-compose it’s configured)

Spring Boot Docker Native image of Spring R2DBC application on Java 16 fails on unsupported methdod

I have a simple application built on top of org.springframework.boot:spring-boot-starter-parent version 2.5.4-SNAPSHOT and some derived dependencies: org.springframework.boot:spring-boot-starter-data-r2dbc org.springframework.boot:spring-boot-starter-webflux org.springframework.boot:spring-boot-starter-actuator io.r2dbc:r2dbc-postgresql I use org.springframework.experimental:spring-native version 0.10.3 to enable Spring Native and build using the following plugin: I build the image using ./mvnw.cmd spring-boot:build-image -Pnative-docker -DskipTests, I get assured Java 16 is bootstrapped correctly, and then the image exists (why it is

Access localhost from docker container

I have an assignment to set up 3 docker container on localhost:8081, localhost:8082 and localhost:8083 which i’ve done succesfully.Then there is a last container that is a java app on localhost:8080 and it needs to send requests using HttpClient and HttpRequest to the other containers i’ve done this creating a bridge with “docker network create web_server –driver brigde” and im

Spring Boot application cannot run in Docker

I am building a Spring Boot application for providing some REST services and I’d like to import it in Docker. If I run my application within IntelliJ pressing the run button, I can load the endpoints correctly. My app is listening on the port 8091, as my dockerfile is the following The code for building and running the docker container

Java SIGSEGV error when running from docker

I have no experience in Java and I can run my code successfully from the development. But only when I built the project and runs it from docker, I got an error like this. I have followed the error message to use ulimit -c unlimited by adding it in the docker command: docker run –ulimit core=-1 –env-file -t my_project but