-
Notifications
You must be signed in to change notification settings - Fork 27
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
UnknownHostException: : Name or service not known on glibc 11.0.2 image #6
Comments
Thank you for the bug report. I identified the issue and am working on it. |
For now I could offer you a simple workaround, run the following command from the console:
If you build images yourself, this should work as well, just add
into your Dockerfile. Later we will provide new images and Dockerfiles addressing this issue. Thank you. |
Thanks a lot for fast response. I think we will wait for your new images :) |
Aiming to finish testing and roll out the updated images tomorrow. |
I have spring boot application with logback.groovy as logging configuration.
Launching application on alpine musl 11.0.2 image everything works well.
But launching same app throws exception on start while using glibc 11.0.2 image.
Am i using wrong glibc alpine image or something wrong with image itself?
repo to reproduce https://github.com/Ivanbmstu/bellsoft_glibc_alpine_error.git
run glibc-alpine-build.sh to build glibc docker image with app
run musl-alpine-build.sh to build musl docker image with app
with glibc check: docker run -p 8080:8080 alpine-sb2-logback-glibc java -jar /app.jar --logging.config=/logback.groovy
with musl check: docker run -p 8080:8080 alpine-sb2-logback-musl java -jar /app.jar --logging.config=/logback.groovy
exception in attachment
exception.txt
It is also possible to call endpoint inside application (e.g. curl localhost:8080/), it call InetAddress addr = InetAddress.getLocalHost(); which throws java.net.UnknownHostException.
PS. вам на русском issue писать можно?)
The text was updated successfully, but these errors were encountered: