-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JHipster 8.8.0: Consul Setup Fails – Invalid Image bitnami/consul:1.20.1 #28580
Comments
|
You should use the docker container file generated in src/main/docker folder. To start required containers run
Closing as this does not look an JHipster issue. |
Overview of the issue
JHipster 8.8.0 generates configuration files that reference the Docker image bitnami/consul:1.20.1. However, this image does not exist, causing the build to fail when trying to pull or run Consul.
Motivation for or Use Case
JHipster is expected to work out of the box, but this issue breaks automated setup and requires manual intervention to fix. Users following the default setup instructions will encounter a non-working build.
Reproduce the error
Generate a new JHipster project using version 8.8.0.
Select Consul as the service discovery option (recommended).
Run ./mvnw to build the project.
The build fails because the generated configuration references an invalid Docker image:
consul:
image: bitnami/consul:1.20.1
Running docker pull bitnami/consul:1.20.1 manually results in:
Error response from daemon: manifest for bitnami/consul:1.20.1 not found: manifest unknown: manifest unknown
Related issues
I searched both open and closed issues but did not find a similar report.
Suggest a Fix
Identify where JHipster defines the default Consul image (bitnami/consul:1.20.1).
Allow users to override this value in a central configuration file before generation.
Update JHipster to use a valid Consul image, such as consul:1.15.0 (which works correctly).
JHipster Version(s)
JHipster 8.8.0
Browsers and Operating System
OS: Ubuntu Linux
Java: OpenJDK 17
Node.js: v20.18.1
npm: 10.8.2
The text was updated successfully, but these errors were encountered: