All Questions
1,166
questions
1
vote
1
answer
29
views
mvn verify doesnt start docker-compose
I want to start docker-compose upon integration tests e.g mvn verify command.
I am using:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId&...
-2
votes
0
answers
23
views
Frontend does not show working correctly when uploading to a server from visual studio code in Java [closed]
It works locally perfectly, when I upload it to the server it loads fine but it has no functionality, the APIs are in status 200 and I don't get any errors
Dockerfile of the frontend
FROM maven:3.8.4-...
1
vote
0
answers
19
views
Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.3.1 : Operation not permitted
I working on a quarkus application. I was able to compile it locally and everything is working fine. But when trying to dockerize it it throws me this error :
copying /src/src/main/resources/...
0
votes
1
answer
47
views
How to deal with a common Spring Boot module while Dockerizing micro-services application?
I would like to Dockerize all my Spring Boot micro services in a single docker-compose file. The problem is that all micro services are using a common module where I have written shared code (to avoid ...
0
votes
1
answer
40
views
How to know what version of Share/Docker to use for my version of Alfresco?
First post on stack overflow, so I may do something wrong here, if so I'm sorry.
I'm new to both Alfresco and Docker, and not very experienced with maven either. I am currently setting up a default ...
0
votes
0
answers
29
views
Avoid some modules in mvn package
I have monorepo with some apps and pom.xml. I want to be able to build just specified modules in Dockerfile.
Project structure is:
pom.xml
- app-core (this is runnable app)
- pom.xml
- app-common (...
0
votes
3
answers
269
views
GoogleJib is stuck at 80 percent while creating docker image
While trying to create a docker image for spring boot app using the
mvn compile jib:dockerBuild getting below error
enter image description here
I am using GoogleJib to create a docker image for my ...
0
votes
0
answers
74
views
Rancher Desktop on windows: When trying to use maven to build and run java service I get localhost:2375 connection refused
I was using docker Desktop but moved to rancher, I dont see an option to expose port 2375 on rancher.
Now I am running into the issue where it keeps saying the connection is refused.
org.mandas.docker....
1
vote
0
answers
123
views
Why i am getting this error' Builder lifecycle 'creator' failed with status code 51' when I run 'mvn spring-boot:build-image'
I'm learning Docker and I'm trying to create an Image of my current Spring project.
I'm trying to run mvn spring-boot:build-image to create a docker image for my Spring Boot project, but I got this ...
0
votes
2
answers
150
views
Running a springboot project in docker
I have a server side project written in java including mavenand spring-boot
And I'm trying to run it in Docker.
I write the whole program in VSCODE and create a special Dockerfile for it.
Then I want ...
-1
votes
1
answer
93
views
Build Dockerfile with Java and maven with CodeArtifact dependency
I'm trying to build my project using Docker, it has some Java REST APIs, I'm using Maven and Spring Boot on a multiservice architecture. I have a "slave" module called "common-utilities&...
0
votes
0
answers
93
views
Unable to start docker process - but docker is installed correctly
I want to build new Spring Boot backend and run it with docker (Dockfile and docker-compose.yml) including a volume-mapping to be able to code live.
Here's my Dockerfile (in the project directory)
...
0
votes
2
answers
40
views
Exit status 1 while running docker compose of spring boot application with mysql db
I am trying to docrize an application of spring boot which also utilizes a mysql db also
Below is the docker file
FROM maven:3.8.3-openjdk-17 AS build
EXPOSE 8081
ADD /target/oks-0.0.1-SNAPSHOT.jar ...
0
votes
0
answers
36
views
I try to run spring boot in Docker but it not working it not found ./mvnw
FROM eclipse-temurin:17-jdk-alpine
LABEL authors="Akkarawit"
COPY . ./backEndAPI
WORKDIR /backEndAPI
RUN chmod +x mvnw
RUN ./mvnw clean package
ENTRYPOINT ["java","-jar",&...
1
vote
0
answers
29
views
Unable to access a folder in different layers in a docker image
I'm trying to build a Java image and I'm using cache mounts to speed up subsequent dependency installations.
Here is my Dockerfile :
FROM eclipse-temurin:17-jdk-alpine
WORKDIR /app
COPY mvnw .
COPY ....