# \#docker

**URL:** https://erlangforums.com/tag/docker/524.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Best practices for running Erlang releases in Docker: protecting sys.config / vm.args](https://erlangforums.com/t/best-practices-for-running-erlang-releases-in-docker-protecting-sys-config-vm-args/6121)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 4\
**Last updated:** [November 20, 2026, 9:33pm UTC](https://erlangforums.com/t/best-practices-for-running-erlang-releases-in-docker-protecting-sys-config-vm-args/6121 "2026-11-20T21:33:14Z")

</div>

Hi all, With the recent wave of sophisticated AI-driven attacks, we are asking ourselves more and more questions about hardening Erlang releases running in containers. The usual baseline is already in place: non-root u…

---

## [Cannot run the custom built erlang container.](https://erlangforums.com/t/cannot-run-the-custom-built-erlang-container/5259)

<div class="topic-metadata">

**Author:** [@rumalg001](https://erlangforums.com/u/rumalg001)\
**Replies:** 0\
**Last updated:** [November 18, 2025, 10:36am UTC](https://erlangforums.com/t/cannot-run-the-custom-built-erlang-container/5259 "2025-11-18T10:36:55Z")

</div>

Here is the Dockerfile erlang# ===== Stage 1: BUILD OTP 27.2 ===== FROM debian:bookworm AS build RUN apt-get update && apt-get install -y \\ build-essential \\ autoconf \\ automake \\ libssl-dev \\ libnc…

---

## [What is currently the way to use Erlang distribution between Docker containers under some orchestration?](https://erlangforums.com/t/what-is-currently-the-way-to-use-erlang-distribution-between-docker-containers-under-some-orchestration/2646)

<div class="topic-metadata">

**Author:** [@peerst](https://erlangforums.com/u/peerst)\
**Replies:** 22\
**Last updated:** [November 3, 2025, 10:28am UTC](https://erlangforums.com/t/what-is-currently-the-way-to-use-erlang-distribution-between-docker-containers-under-some-orchestration/2646 "2025-11-03T10:28:23Z")

</div>

When one wants to run distributed Erlang between orchestrated Docker containers one needs to figure out how to deal with epmd functionality, i.e. the different containers need to know about the distribution ports of the …

---

## [Release upgrades in Docker: best practices and alternatives](https://erlangforums.com/t/release-upgrades-in-docker-best-practices-and-alternatives/5134)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 7\
**Last updated:** [October 13, 2025, 8:46am UTC](https://erlangforums.com/t/release-upgrades-in-docker-best-practices-and-alternatives/5134 "2025-10-13T08:46:35Z")

</div>

Hi everyone, I’m currently building my releases using rebar3 and deploying them to production using Docker, and the setup has been working well—all performance requirements are being met without issues. However, I’d li…

---

## [Memory leak in Docker container when using open\_port for image conversion](https://erlangforums.com/t/memory-leak-in-docker-container-when-using-open-port-for-image-conversion/4784)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 5\
**Last updated:** [May 26, 2025, 11:04pm UTC](https://erlangforums.com/t/memory-leak-in-docker-container-when-using-open-port-for-image-conversion/4784 "2025-05-26T23:04:57Z")

</div>

Hi all, I’m experiencing a memory leak issue (not sure at 100%) in my Erlang application running inside a Docker container and hoping someone might have insights or similar experiences to share. Setup: Erlang release…

---

## [OTP27 errors: Failed to load NIF library: 'Error loading shared library /opt/eadm/lib/wx-2.4.3/priv/erl\_gl.so](https://erlangforums.com/t/otp27-errors-failed-to-load-nif-library-error-loading-shared-library-opt-eadm-lib-wx-2-4-3-priv-erl-gl-so/4505)

<div class="topic-metadata">

**Author:** [@wangcw](https://erlangforums.com/u/wangcw)\
**Replies:** 4\
**Last updated:** [February 20, 2025, 5:33am UTC](https://erlangforums.com/t/otp27-errors-failed-to-load-nif-library-error-loading-shared-library-opt-eadm-lib-wx-2-4-3-priv-erl-gl-so/4505 "2025-02-20T05:33:18Z")

</div>

hello every one i just a erlang newbee, i have a old project use otp 26.2.4, and i wan’t package the docker image as small as possable, use erlang-26.2.4-alpine in my rebar.config {relx, \[{release, {eadm, "0.1.46"}, \[…

---

## [Erlang in docker, what about Mnesia disc storage?](https://erlangforums.com/t/erlang-in-docker-what-about-mnesia-disc-storage/4157)

<div class="topic-metadata">

**Author:** [@Paddlaren](https://erlangforums.com/u/Paddlaren)\
**Replies:** 3\
**Last updated:** [December 12, 2024, 4:38pm UTC](https://erlangforums.com/t/erlang-in-docker-what-about-mnesia-disc-storage/4157 "2024-12-12T16:38:21Z")

</div>

Hi, I am considering deployment for my Erlang back-end software and need to decide on either docker or VPS. The preliminary deployment is initially 2 public nodes, each with a cowboy entry for clients (websockets), som…

---

## [Docker image for Erlang VM with minimal memory/disk usage](https://erlangforums.com/t/docker-image-for-erlang-vm-with-minimal-memory-disk-usage/3610)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 11\
**Last updated:** [September 24, 2024, 5:45am UTC](https://erlangforums.com/t/docker-image-for-erlang-vm-with-minimal-memory-disk-usage/3610 "2024-09-24T05:45:52Z")

</div>

Hi guys, Is there any Docker image I can use to build the smallest Erlang VM in term of memory usage and disk space? Currently, I’m shipping my containers based on Ubuntu 22.04 LTS. They are pretty large and consume +2…

---

## [Release with docker problem](https://erlangforums.com/t/release-with-docker-problem/3508)

<div class="topic-metadata">

**Author:** [@wangcw](https://erlangforums.com/u/wangcw)\
**Replies:** 4\
**Last updated:** [April 20, 2024, 11:37pm UTC](https://erlangforums.com/t/release-with-docker-problem/3508 "2024-04-20T23:37:26Z")

</div>

I packaged the image using GitHub and exited directly when starting it. There was no daemon, so I searched for many problems but couldn’t solve them. Docker reported an error specifically: /Opt/eadm/bin/eam: line 272:/o…

---

## [Your thoughts on Erlang process vs. docker containers?](https://erlangforums.com/t/your-thoughts-on-erlang-process-vs-docker-containers/3371)

<div class="topic-metadata">

**Author:** [@LRP](https://erlangforums.com/u/LRP)\
**Replies:** 4\
**Last updated:** [March 13, 2024, 11:14pm UTC](https://erlangforums.com/t/your-thoughts-on-erlang-process-vs-docker-containers/3371 "2024-03-13T23:14:51Z")

</div>

Use cases— Compare? Contrast? Many thanks, LRP

---

## [BEAM docker release GitHub action - a GitHub action to build a docker container from a BEAM (Elixir/Erlang) release](https://erlangforums.com/t/beam-docker-release-github-action-a-github-action-to-build-a-docker-container-from-a-beam-elixir-erlang-release/2090)

<div class="topic-metadata">

**Author:** [@shortishly](https://erlangforums.com/u/shortishly)\
**Replies:** 8\
**Last updated:** [November 26, 2023, 5:31pm UTC](https://erlangforums.com/t/beam-docker-release-github-action-a-github-action-to-build-a-docker-container-from-a-beam-elixir-erlang-release/2090 "2023-11-26T17:31:37Z")

</div>

What is it? The BEAM docker release GitHub action builds a tiny from scratch container as part of your GitHub workflow. With a minimal attack surface, of tens rather than hundreds of megabytes. We are building container…

---

## [EPMD becomes zombie when starting my release inside Docker](https://erlangforums.com/t/epmd-becomes-zombie-when-starting-my-release-inside-docker/3036)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 11\
**Last updated:** [November 18, 2023, 2:56pm UTC](https://erlangforums.com/t/epmd-becomes-zombie-when-starting-my-release-inside-docker/3036 "2023-11-18T14:56:58Z")

</div>

Hi guys, It all started when I saw this message upon login on my Ubuntu server: There are 2 zombie processes. I tried to locate these zombies: # ps axo stat,ppid,pid,comm | grep -w defunct Zs 58904 59064 epmd \<d…

---

## [rebar3\_docker - A rebar3 plugin to build docker images from Erlang releases](https://erlangforums.com/t/rebar3-docker-a-rebar3-plugin-to-build-docker-images-from-erlang-releases/2315)

<div class="topic-metadata">

**Author:** [@Sylane](https://erlangforums.com/u/Sylane)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 11:11pm UTC](https://erlangforums.com/t/rebar3-docker-a-rebar3-plugin-to-build-docker-images-from-erlang-releases/2315 "2023-10-16T23:11:04Z")

</div>

At Stritzinger we just released a very simple rebar3 plugin to create docker images out of your Erlang releases. It is called rebar3\_docker and you can find it: on hex.pm: rebar3\_docker | Hex and on github.com: GitHub …

---

## [Display Erlang's VM metrics in Grafana](https://erlangforums.com/t/display-erlangs-vm-metrics-in-grafana/2911)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 15\
**Last updated:** [October 11, 2023, 1:24pm UTC](https://erlangforums.com/t/display-erlangs-vm-metrics-in-grafana/2911 "2023-10-11T13:24:30Z")

</div>

Hi guys, I’m looking for a library (and/or a Docker image) which will let me send my Erlang VM metrics (memory, scheduler utilization, number of processes, etc.) to Prometheus/Grafana? Thanks.

---

## [Automatically building and releasing Erlang docker images](https://erlangforums.com/t/automatically-building-and-releasing-erlang-docker-images/2889)

<div class="topic-metadata">

**Author:** [@asabil](https://erlangforums.com/u/asabil)\
**Replies:** 9\
**Last updated:** [October 1, 2023, 10:24pm UTC](https://erlangforums.com/t/automatically-building-and-releasing-erlang-docker-images/2889 "2023-10-01T22:24:03Z")

</div>

Hi, I was wondering if it could make sense to automatically start building and releasing the Erlang docker images upon each release by making use of Github Actions? Is this something that the OTP team would be intereste…

---

## [How to build Erlang R14B04 on Docker?](https://erlangforums.com/t/how-to-build-erlang-r14b04-on-docker/2118)

<div class="topic-metadata">

**Author:** [@zabrane](https://erlangforums.com/u/zabrane)\
**Replies:** 1\
**Last updated:** [December 7, 2022, 6:26pm UTC](https://erlangforums.com/t/how-to-build-erlang-r14b04-on-docker/2118 "2022-12-07T18:26:52Z")

</div>

Hi guys, Can anyone point me to a Dockerfile to let me build R14B04? I’m unable to build it using kerl. I’m under Ubuntu 20.04LTS. Many thanks. /Z

---

## [Segfault for docker image on non native platform](https://erlangforums.com/t/segfault-for-docker-image-on-non-native-platform/1871)

<div class="topic-metadata">

**Author:** [@kpy3](https://erlangforums.com/u/kpy3)\
**Replies:** 4\
**Last updated:** [September 27, 2022, 3:22pm UTC](https://erlangforums.com/t/segfault-for-docker-image-on-non-native-platform/1871 "2022-09-27T15:22:24Z")

</div>

Hello there, we have a lot of docker images for various microservices built for linux/amd64, which build on top of official docker erlang images (24.x and 25.x). I tried to run some of them on Apple M1 MacBook Pro, but …

---

## [Segmentation Fault when using init:restart() in docker](https://erlangforums.com/t/segmentation-fault-when-using-init-restart-in-docker/1847)

<div class="topic-metadata">

**Author:** [@Coffei](https://erlangforums.com/u/Coffei)\
**Replies:** 6\
**Last updated:** [September 23, 2022, 7:18am UTC](https://erlangforums.com/t/segmentation-fault-when-using-init-restart-in-docker/1847 "2022-09-23T07:18:50Z")

</div>

Hi all, I am having a problem with a call init:restart() in my application. Sometimes it goes just fine but sometimes it crashes the beam with segmentation fault (usually the first time it works fine and the second time…
