ExWebRTC from a container?

Hi everyone,

Goal

I am seeking advice on running an Elixir WebRTC peer from a docker container.

Problem

When running the application from the root system, everything works fine, but running the same in a docker container crashes on load of the NIF used by ex_sctp.

Sample Project

A sample project can be found here

Intended Architecture

The Macula Ring in this drawing is intented to be powered by WebRTC.

Any help/advice is much appreciated.

Hmm, getting the exactly same issue. Can you confirm that you can run the release outside of docker?

I might have a suspicion that the release is not bundling the compiled NIFs correctly.

1 Like

Many thanks for your response. I’ve updated the repo with some additional scripts and indeed, the release runs fine on the host machine, but fails to start inside a container.