Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jun 13, 2019. It is now read-only.
This repository was archived by the owner on Jun 13, 2019. It is now read-only.

Running Release Fails after "set include_erts: false" #25

@Faolain

Description

@Faolain

I followed the guide here at https://shovik.com/blog/8-deploying-phoenix-apps-with-docker and it was advised to not bundle the erts files, that is, set include_erts: false in the rel/config.exs. I was both able to run mix docker.build and mix docker.release but when it comes time to running the container it errors out stating

{"init terminating in do_boot",{load_failed,[file_io_server,heart,lists,error_handler,erl_eval,code_server,erl_lint,application_master,gen_server,kernel,file_server,application,filename,gen_event,gen,supervisor,code,ets,erl_parse,proc_lib,file,application_controller,error_logger]}}
init terminating in do_boot ()

Crash dump is being written to: erl_crash.dump...done

Shutting down..
Node is not running!

If I then instead set to include erts to true
set include_erts: true

then it is able to run the container/initiate the phoenix server. If it helps at all I'm running this on OSX without any other changes to the standard included Dockerfile build and release files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions