wdiechmann
Phoenix 1.6 using Docker containers ends with segmentation fault / error 139
I’ve compiled as much info as possible in a gist here - but the recap is:
- it’s a totally “empty”
mix phx.new . --app battery_rehab - docker compose build works
- docker compose run --rm phoenix mix test works
- docker compose up ends phoenix with error 139
I’ve tried to google for it - but somehow I’ve managed to land both feet right into unchartered territory (with the closest thing that I could muster was that rebuild assets.deploy fail)
which probably speaks to the utter n00bness of me at all dabbling with 1.6 and containers (coming from ruby-land - and been wanting to for nearly 4/5 years on now without getting that well-deserved breakthrough - it’s tough) ![]()
Hoping one of you guys in here knows what kind of animal a ‘139’ is -
BR
Walther
Marked As Solved
outlog
most likely something with arm64 and that image.. can you try using the hexpm/elixir image instead hexpm/elixir - Docker Image
hexpm/elixir:1.12.0-erlang-24.1-alpine-3.14.0 maybe?
Also Liked
tjstankus
Just wanted to say thanks for posting this thread. I hit the exact same error. I thought for sure it would be some obscure thing I’d have to Google for a while. But, nope, the question and answer were right there on the front page of Elixir Forum! ![]()
wdiechmann
wdiechmann
thx!
That had me going forward!
Important lesson too! Not all platforms are made equal ![]()
(not that I didn’t know that - from building on Symbian60 in the late '90’s - but I kind’a guessed that with Docker being an “abstraction layer” this sort of was a thing of the past) - guess not ![]()
huge thank you!
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









