I’ve an API application that run both node and java files(jar) together. When I run the application locally it works, but once I create a docker image for it, I got an error from the postman . I believe that I’m missing the jave configuration in docker file but I don’t know how to put the configuration for java and
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
Kafka docker – NoSuchFileException: /opt/kafka.server.keystore.jks
I have installed kafka via docker. When i run the docker-compose up command I face following errors: Below is my docker-compose.yml file: Answer Change the variable values to use /certs
How to Remote debug of java application running as docker container in Intellij
In the below example since I have many environment variables I cannot directly run ENTRYPOINT with java -jar command option. Instead I have used entrypoint.sh Dockerfile entrypoint.sh docker-compose.yaml In the below snapshot we can see when the service is started with debugging enabled when running sudo netstat -tulpn | grep :9251 shows The docker is running in a linux box
Gitlab-ci docker inside java image
To use a integration test library https://www.testcontainers.org/” I need a image with java a docker installed at same time. I’m trying o use this stage: But It does not work: Any help? Answer The image gradle:jdk16 does not include the docker client. You’ll have to install it in your job. Additionally, you’ll need to use the service docker:dind in your
Could not initialize class org.nd4j.linalg.factory.Nd4j in docker container
I am trying to import a KERAS file in a docker container with a program that has the following java code sample: I am using Docker with WSL2 and the docker container has the following OS: If I run the program in WSL2 it works fine, but if I run it in the docker container I get the following error:
Converting Shell Script to Dockerfile
I have Java app and want to generate docker image, I have shell script like this: And I try to convert it into Dockerfile like this It can be generated, but there’s an error when I try to run it like this: I’ve also changed this script RUN for rJarFile in `ls ${APPLICATION_DIR}/lib/*.jar`; do export into this RUN for rJarFile
Local Mongo DB Container Access with Kubernetes Service Endpoint in K3s is not working
Earlier I used earlier kubeadm to create an endpoint from my local MongoDB which is running in a Docker container, now we have switched from kubeadm to k3s because it is a lot of easier to use. Now we are not able to use the MongoDB endpoints, it is reachable inside the Kubernetes cluster. I will share the necessary information
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)
“b’OCI runtime create failed: container_linux.go:380?
Client Error: Bad Request (“b’OCI runtime create failed: container_linux.go:380: starting container process caused: exec: “/usr/lib/jvm/java-8-openjdk-amd64/bin/java”: stat /usr/lib/jvm/java-8-openjdk-amd64/bin/java: no such file or directory: unknown'”) this my error ,I cann’t fix this ,when I use docker-compose and docker my version Dockerfile docker-compose.yml docker-compose.node-java.yml Any suggestion will help !!! thank you very much Answer I think the path to the java executable in