Skip to content
Advertisement

Tag: docker-compose

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

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

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

What are the minimum requirements for Spring JPA

I am trying to setup a simple Spring JPA connection with Docker-Compose. This is my docker-compose.yml: My pom.xml looks like this: I’m used to see Spring trying to connect to a database before starting anything. I set up some temporary Repositories to make sure it had some Entities to work with. The logging looks like this: What do I need

Advertisement