Skip to content
Advertisement

Tag: docker

Google Cloud Debugger can’t find Spring Boot web app deployed as Cloud Run service

I followed the guide (https://cloud.google.com/debugger/docs/setup/java#cloud-run) to setup the cloud debugger for my cloud run services. Everything looks like it should work. However the debugger UI tells me it can not find any application. However I did everything that was suugested in the documentation Source code is in Source Repositories Cloud Build triggers on master push I download the cdbg-java-agent.so I

Running Acrarium by docker-compose.yaml causes HikariPool-1 – Exception during pool initialization

I’m trying to run Acrarium on my local Debian 10 machine – just to test it – by running the docker-compose up command with this compose file: The database runs successfully, but when it comes to run acrarium, I’m getting this error in terminal: HikariPool-1 – Exception during pool initialization. com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure The last packet sent successfully to

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

Micronaut test in docker overriding the MICRONAUT_ENVIRONMENTS

We run our micronaut integration tests in the cloud in a docker container We’re setting the MICRONAUT_ENVIRONMENTS=staging in the docker environment variables, to force our application to read the config values from application-staging.yaml. However, micronaut is automatically adding “test” as an environment, and then read the config values from application-test.yaml. From the docs (https://docs.micronaut.io/2.2.1/guide/index.html#propertySource), environment variables should have priority compared

The dreaded Java SpringBoot app not connecting to MySQL with Docker-compose java.net.ConnectException: Connection refused

I have been struggling with the following issue – the dreaded Java SpringBoot app not connecting to MySQL with docker compose exceptions: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure JDBCConnectionException: Unable to open JDBC Connection for DDL execution java.net.ConnectException: Connection refused The app works fine on its own, but it can’t seem to connect to mysql once I get it in Docker. I

Can’t find io.jsonwebtoken.impl.DefaultJwtBuilder when starting project in a docker container

When starting my Quarkus project locally with mvn quarkus:dev I have no errors when executing a function which utilizes JJWT. However when I export my project into a docker container it gives me an error stating that it can’t find DefaultJwtBuilder. When dockerizing my project I first execute ./mvnw package -Pnative -Dquarkus.native.container-build=true as stated in the Quarkus docs for creating

No Main Class found when running a dockerizing image

I have a university project which consist of building a Java Spring Boot application that can handle multiple APIs that can start new docker containers running jar applications. For the moment, I was able to experiment how Spring Boot works, so I built a simple jar to deploy a simple greeting API that returns “Hello World!” So I have built

How to create docker image with nodejs 12, java, gcc, g++,python3, monocs

I am trying to dockerize my NodeJs & Express API . In my API iam using https://www.npmjs.com/package/compile-run package to compile and run C, Cpp,Java,JavaScript(Node.js env), Python languages. This package requires all 5 compilers(gcc,g++,nodejs,python3,javac) installed on the server. If any compiler misses, it throws error. In my local(undockerized) the API is working completely fine on both windows & ubuntu(As I have

Advertisement