nicbet / docker-phoenix

A dockerized Phoenix development and runtime environment.
GNU General Public License v3.0
277 stars 57 forks source link

segfault on mix phx.new #35

Closed surajsharma closed 1 year ago

surajsharma commented 1 year ago

mix phx.new . hello_world gives the following error:

qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault

nicbet commented 1 year ago

@surajsharma that tends to happen when you use an emulation layer for Docker on an ARM architecture. Are you by any chance developing on an M1 or M2 Apple device and running the x86 container? If so, please rebuild the container for your native architecture and try again.