-
Notifications
You must be signed in to change notification settings - Fork 75
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
Elixir fails with error 'dlsym: Resource temporarily unavailable' #117
Comments
could you tell which latest images (with sha256) have the problems? I am checking it as of now, get the ➸ docker image pull 'elixir:1.8.2-alpine'
1.8.2-alpine: Pulling from library/elixir
Digest: sha256:36f0e4f55851db29ec9ff7ad5f309266967bd13647a55d508408509d9bbb4d37
Status: Downloaded newer image for elixir:1.8.2-alpine
➸ docker image pull 'elixir:1.8.2-alpine@sha256:36f0e4f55851db29ec9ff7ad5f309266967bd13647a55d508408509d9bbb4d37'
1.8.2-alpine: Pulling from library/elixir
Digest: sha256:36f0e4f55851db29ec9ff7ad5f309266967bd13647a55d508408509d9bbb4d37
Status: Downloaded newer image for elixir:1.8.2-alpine
➸ docker container run -it --rm 'elixir:1.8.2-alpine@sha256:36f0e4f55851db29ec9ff7ad5f309266967bd13647a55d508408509d9bbb4d37'
Erlang/OTP 21 [erts-10.3.5.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Interactive Elixir (1.8.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> System.get_env "OTP_VERSION"
"21.3.8.4"
iex(2)> System.get_env "ELIXIR_VERSION"
"v1.8.2"
iex(3)>
➸ docker container run -it --rm 'elixir:1.8.2-alpine@sha256:36f0e4f55851db29ec9ff7ad5f309266967bd13647a55d508408509d9bbb4d37' sh
/ # elixir -v
Erlang/OTP 21 [erts-10.3.5.3] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Elixir 1.8.2 (compiled with Erlang/OTP 21)
/ # $> docker run --rm -it alpine:edge
/ # apk add elixir
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
[...] Just let you know, if you read the Dockerfile here, the alpine version does not use the What in use in this alpine version of Elixir Dockerfile is to compile from source code, we discussed all the pros and cons during beginning of this Erlang & Elixir git repo, we chose the approach to compile everything from scratch, either a Debian based
Yes, the pushing process is controlled by upstream https://github.com/docker-library/official-images/tree/master/test/tests/elixir-hello-world |
Thanks @c0b for the detailed response. I've done further tests, and the problem is not on the Unfortunately, the only way to reproduce I have is using our app multistage Dockerfile, attached here: https://gist.github.com/1player/765cec58bbda39d86df23b10cddc8c8b Contrarily to what I previously said, any I also made sure the
So it seems it's an upstream Alpine bug, though I'll leave the issue open in case you think it might be somehow related to the elixir image, or if you know how can I debug this further, but otherwise feel free to close it. |
Related to erlang/docker-erlang-otp#235 |
Our app in production is built in two stages from image
elixir:1.8.2-alpine
and runs onalpine
and recent builds (some time in the last 10 days or so) have failed to start at all with error "dlsym: Resource temporarily unavailable".I've noticed all the elixir images have been rebuilt 5 days ago.
Forcing images to be built off the last working image SHA
elixir:1.8.2-alpine@sha256:cd04d80e85430b803f185553176803d935ead138322904d029ff6a9f7dbcd2a1
and run offalpine@sha256:769fddc7cc2f0a1c35abb2f91432e8beecf83916c421420e6a6da9f8975464b6
fixes the error. Not sure which of the two images is the culprit.There's a relevant bug report on Alpine Linux about this: https://bugs.alpinelinux.org/issues/9983
I reckon the images should be tested somehow before pushing to Docker Hub, as currently even a simple
elixir -v
fails with the above error.The text was updated successfully, but these errors were encountered: