# \#docker

**URL:** https://forum.elixirforum.com/tag/docker/89.md

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

---

## [A deploy killed my OTP processes but not my containers - writing a reconciler GenServer](https://forum.elixirforum.com/t/a-deploy-killed-my-otp-processes-but-not-my-containers-writing-a-reconciler-genserver/77184)

<div class="topic-metadata">

**Author:** [@T0ha666](https://forum.elixirforum.com/u/T0ha666)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 12:04pm UTC](https://forum.elixirforum.com/t/a-deploy-killed-my-otp-processes-but-not-my-containers-writing-a-reconciler-genserver/77184 "2026-10-27T12:04:37Z")

</div>

A deploy killed my OTP processes but not the containers running my AI agents. That mismatch kept a kanban card “executing” for eighteen hours after the work — and the merged PR — was already done. It seems to be a lesson…

---

## [OpenTelemetry Collector on Docker Swarm: every broken config passed validation](https://forum.elixirforum.com/t/opentelemetry-collector-on-docker-swarm-every-broken-config-passed-validation/77114)

<div class="topic-metadata">

**Author:** [@T0ha666](https://forum.elixirforum.com/u/T0ha666)\
**Replies:** 0\
**Last updated:** [October 21, 2026, 7:24am UTC](https://forum.elixirforum.com/t/opentelemetry-collector-on-docker-swarm-every-broken-config-passed-validation/77114 "2026-10-21T07:24:39Z")

</div>

I wrote up what it took to ship logs and metrics from two small Docker Swarm clusters into PostHog with the OpenTelemetry Collector: an agent per node as a global service, one gateway holding the credentials. Every brok…

---

## [DEW - a Phoenix workbench where each feature is an Igniter "cartridge" with its reasoning attached. Critique welcome](https://forum.elixirforum.com/t/dew-a-phoenix-workbench-where-each-feature-is-an-igniter-cartridge-with-its-reasoning-attached-critique-welcome/77112)

<div class="topic-metadata">

**Author:** [@JosePamplona](https://forum.elixirforum.com/u/JosePamplona)\
**Replies:** 0\
**Last updated:** [October 21, 2026, 2:00am UTC](https://forum.elixirforum.com/t/dew-a-phoenix-workbench-where-each-feature-is-an-igniter-cartridge-with-its-reasoning-attached-critique-welcome/77112 "2026-10-21T02:00:23Z")

</div>

Hi everyone, Over several Elixir projects I kept writing down what each one taught me and turning the setups I got right into something reusable. The result is DEW, the Dockerized Elixir Workbench. In July I started bui…

---

## [Creating container error: exception error: undefined function erlang:nif\_error/1](https://forum.elixirforum.com/t/creating-container-error-exception-error-undefined-function-erlang-nif-error-1/76079)

<div class="topic-metadata">

**Author:** [@interpretive\_scholar](https://forum.elixirforum.com/u/interpretive_scholar)\
**Replies:** 5\
**Last updated:** [July 24, 2026, 1:46pm UTC](https://forum.elixirforum.com/t/creating-container-error-exception-error-undefined-function-erlang-nif-error-1/76079 "2026-07-24T13:46:50Z")

</div>

I am trying to build a container for a new Phoenix app that I want to deploy in our kubernetes cluster. The container blows up when it reaches the \`mix local.hex --force\` step. I am trying to use the following base c…

---

## [Docker can’t install build essentials error: Package build-essential is not available](https://forum.elixirforum.com/t/docker-can-t-install-build-essentials-error-package-build-essential-is-not-available/75672)

<div class="topic-metadata">

**Author:** [@Lotoen](https://forum.elixirforum.com/u/Lotoen)\
**Replies:** 3\
**Last updated:** [June 15, 2026, 7:52pm UTC](https://forum.elixirforum.com/t/docker-can-t-install-build-essentials-error-package-build-essential-is-not-available/75672 "2026-06-15T19:52:43Z")

</div>

Hi, I’m on Linux Mint 22.3 - Cinnamon 64-bit, and I encountered an error when trying to build an elixir phoenix container 577.1 Reading package lists... 577.1 Building dependency tree... 577.1 Reading state information…

---

## [Testcontainers - A Testcontainers implementation for Elixir](https://forum.elixirforum.com/t/testcontainers-a-testcontainers-implementation-for-elixir/59516)

<div class="topic-metadata">

**Author:** [@jarlah](https://forum.elixirforum.com/u/jarlah)\
**Replies:** 41\
**Last updated:** [March 16, 2026, 5:06pm UTC](https://forum.elixirforum.com/t/testcontainers-a-testcontainers-implementation-for-elixir/59516 "2026-03-16T17:06:42Z")

</div>

Testcontainers Testcontainers is an Elixir library that supports ExUnit tests, providing lightweight, throwaway instances of common databases, or anything else that can run in a Docker container. It supports Testcontain…

---

## [S3 equivalent and Bare metal recommendation](https://forum.elixirforum.com/t/s3-equivalent-and-bare-metal-recommendation/74431)

<div class="topic-metadata">

**Author:** [@sandeshsoni](https://forum.elixirforum.com/u/sandeshsoni)\
**Replies:** 3\
**Last updated:** [February 26, 2026, 1:04pm UTC](https://forum.elixirforum.com/t/s3-equivalent-and-bare-metal-recommendation/74431 "2026-02-26T13:04:45Z")

</div>

Hi, I am building a platform. more of chat application. Mobile Applications. It does have images and voice notes. I am opting for a Bare metal server. I do not want any kind of Public cloud. I am not much into DevOps. …

---

## [Best docker image for Elixir (glibc, malloc, musl)](https://forum.elixirforum.com/t/best-docker-image-for-elixir-glibc-malloc-musl/27071)

<div class="topic-metadata">

**Author:** [@egze](https://forum.elixirforum.com/u/egze)\
**Replies:** 6\
**Last updated:** [November 25, 2019, 2:09pm UTC](https://forum.elixirforum.com/t/best-docker-image-for-elixir-glibc-malloc-musl/27071 "2019-11-25T14:09:54Z")

</div>

Just saw this comment on HN: „ Uses alpine images for small footprint That’s really become a docker meme. Please be aware you’re sacrificing performance due to not using glibc. glibc has thread-local pools for malloc,…

---

## [Building Elixir/Erlang linux/amd64 application image on Apple Silicon](https://forum.elixirforum.com/t/building-elixir-erlang-linux-amd64-application-image-on-apple-silicon/43913)

<div class="topic-metadata">

**Author:** [@tmjoen](https://forum.elixirforum.com/u/tmjoen)\
**Replies:** 12\
**Last updated:** [December 17, 2025, 3:55pm UTC](https://forum.elixirforum.com/t/building-elixir-erlang-linux-amd64-application-image-on-apple-silicon/43913 "2025-12-17T15:55:52Z")

</div>

I have a multi stage docker file and building the node assets works fine with both --platform linux/arm64 and linux/amd64. I can make the elixir/erlang image work with --platform linux/arm64, but when I try linux/amd64 q…

---

## [Iex issues with newest debian trixie and docker](https://forum.elixirforum.com/t/iex-issues-with-newest-debian-trixie-and-docker/73544)

<div class="topic-metadata">

**Author:** [@namxam](https://forum.elixirforum.com/u/namxam)\
**Replies:** 1\
**Last updated:** [December 4, 2025, 4:02pm UTC](https://forum.elixirforum.com/t/iex-issues-with-newest-debian-trixie-and-docker/73544 "2025-12-04T16:02:03Z")

</div>

Starting a remote shell to my phoenix app, running as a docker container on a raspberry pi 5, crashes the container. I upgraded a few of my remote installations to a raspberry pi 5 with the latest debian trixie based OS…

---

## [Phoenix Docker Error: compile vs runtime value not being set](https://forum.elixirforum.com/t/phoenix-docker-error-compile-vs-runtime-value-not-being-set/72337)

<div class="topic-metadata">

**Author:** [@subsaharancoder](https://forum.elixirforum.com/u/subsaharancoder)\
**Replies:** 6\
**Last updated:** [September 5, 2025, 3:24pm UTC](https://forum.elixirforum.com/t/phoenix-docker-error-compile-vs-runtime-value-not-being-set/72337 "2025-09-05T15:24:27Z")

</div>

My phoenix app seems to crash when I try to run it in docker, it appears my secret\_key\_base value is being set at runtime but not at compile time. Compile time value was set to: \[url: \[host: “localhost”\], adapter: Ban…

---

## [Phoenix Blog Post: How To: Build Docker Image for Phoenix Application](https://forum.elixirforum.com/t/phoenix-blog-post-how-to-build-docker-image-for-phoenix-application/60358)

<div class="topic-metadata">

**Author:** [@T0ha666](https://forum.elixirforum.com/u/T0ha666)\
**Replies:** 3\
**Last updated:** [August 22, 2025, 2:19pm UTC](https://forum.elixirforum.com/t/phoenix-blog-post-how-to-build-docker-image-for-phoenix-application/60358 "2025-08-22T14:19:54Z")

</div>

In this article, we discuss how to create a Docker image for a Phoenix application. https://t0ha.ru/en/devops/elixir/2023/11/10/how-to-build-docker-image-for-phoenix-app.html

---

## [Apple silicon and cross-platform Docker fails Minikube](https://forum.elixirforum.com/t/apple-silicon-and-cross-platform-docker-fails-minikube/60699)

<div class="topic-metadata">

**Author:** [@jgallinari](https://forum.elixirforum.com/u/jgallinari)\
**Replies:** 16\
**Last updated:** [July 12, 2025, 7:10am UTC](https://forum.elixirforum.com/t/apple-silicon-and-cross-platform-docker-fails-minikube/60699 "2025-07-12T07:10:52Z")

</div>

Hello, I made the switch recently from an x86 MacBook to Apple silicon (M3) and it seems to fail my Docker/Minikube workflow that perfectly worked under my old machine. My app is a Phoenix app that is started in Miniku…

---

## [Setting up Elixir with Dockerized PostgreSQL](https://forum.elixirforum.com/t/setting-up-elixir-with-dockerized-postgresql/60854)

<div class="topic-metadata">

**Author:** [@mbski](https://forum.elixirforum.com/u/mbski)\
**Replies:** 10\
**Last updated:** [June 24, 2025, 1:09am UTC](https://forum.elixirforum.com/t/setting-up-elixir-with-dockerized-postgresql/60854 "2025-06-24T01:09:15Z")

</div>

Hello, I am coming back to Elixir world after one year and I wanted to learn also new stuff so I decided to use Docker to my development. I pulled pgadmin4 and postgresql, set it up according to documentation/articles.…

---

## [Elixir slow in devcontainer (vscode and docker)](https://forum.elixirforum.com/t/elixir-slow-in-devcontainer-vscode-and-docker/39305)

<div class="topic-metadata">

**Author:** [@matreyes](https://forum.elixirforum.com/u/matreyes)\
**Replies:** 7\
**Last updated:** [May 26, 2025, 8:14pm UTC](https://forum.elixirforum.com/t/elixir-slow-in-devcontainer-vscode-and-docker/39305 "2025-05-26T20:14:06Z")

</div>

Just wanted to share my experience: I was suffering with my elixir vscode devcontainer (docker) environment, because tests took ~20 seconds to start running. I tried delegating the workspace: - ..:/workspace:delegated …

---

## [Regarding deployments strategies (for zero downtime)](https://forum.elixirforum.com/t/regarding-deployments-strategies-for-zero-downtime/34757)

<div class="topic-metadata">

**Author:** [@Sanjibukai](https://forum.elixirforum.com/u/Sanjibukai)\
**Replies:** 8\
**Last updated:** [May 25, 2025, 9:24pm UTC](https://forum.elixirforum.com/t/regarding-deployments-strategies-for-zero-downtime/34757 "2025-05-25T21:24:11Z")

</div>

Hello, Until now I was using docker container to build and deploy my phoenix apps. Something as following: I have a dev.Dockerfile and a docker-compose.dev.yml dedicated for development I have a prod.Dockerfile …

---

## [Use alpine for phx.gen.release --docker](https://forum.elixirforum.com/t/use-alpine-for-phx-gen-release-docker/70114)

<div class="topic-metadata">

**Author:** [@Astolfo](https://forum.elixirforum.com/u/Astolfo)\
**Replies:** 10\
**Last updated:** [March 30, 2025, 3:21am UTC](https://forum.elixirforum.com/t/use-alpine-for-phx-gen-release-docker/70114 "2025-03-30T03:21:08Z")

</div>

When generating a release with phx.gen.release --docker a debian version is used by default to avoid “DNS issues” on Alpine. It seems like the mentioned issues have been resolved in Alpine 3.18: DNS because of musl/Al…

---

## [Graceful shutdown of Elixir app in docker](https://forum.elixirforum.com/t/graceful-shutdown-of-elixir-app-in-docker/3944)

<div class="topic-metadata">

**Author:** [@matteosister](https://forum.elixirforum.com/u/matteosister)\
**Replies:** 7\
**Last updated:** [March 5, 2025, 6:06pm UTC](https://forum.elixirforum.com/t/graceful-shutdown-of-elixir-app-in-docker/3944 "2025-03-05T18:06:58Z")

</div>

In our company, we have an application that runs rabbitmq consumer in elixir on AWS ECS. So everything run on docker containers, and we scale horizontally by adding more containers. For this reason many node go up and d…

---

## [Connect Livebook to a Elixir node running in a Docker container](https://forum.elixirforum.com/t/connect-livebook-to-a-elixir-node-running-in-a-docker-container/69412)

<div class="topic-metadata">

**Author:** [@Wigny](https://forum.elixirforum.com/u/Wigny)\
**Replies:** 8\
**Last updated:** [February 22, 2025, 5:32am UTC](https://forum.elixirforum.com/t/connect-livebook-to-a-elixir-node-running-in-a-docker-container/69412 "2025-02-22T05:32:16Z")

</div>

Hey folks, I would like help to connect Livebook to an Elixir node running in a Docker container. To run the container I usually do docker-compose run --rm --service-ports api iex -S mix and Livebook docker run -p 80…

---

## [Issue with Fetching Oban Packages from Private Hex Repo during Docker Build](https://forum.elixirforum.com/t/issue-with-fetching-oban-packages-from-private-hex-repo-during-docker-build/69021)

<div class="topic-metadata">

**Author:** [@HataluliRandima](https://forum.elixirforum.com/u/HataluliRandima)\
**Replies:** 1\
**Last updated:** [January 27, 2025, 10:25am UTC](https://forum.elixirforum.com/t/issue-with-fetching-oban-packages-from-private-hex-repo-during-docker-build/69021 "2025-01-27T10:25:38Z")

</div>

Hello, I am encountering an issue while trying to fetch Oban packages from a private Hex repository during the Docker build process for my Elixir Phoenix project. Steps I’ve Taken: Verified the repository configuratio…

---

## [\*\* (RuntimeError) found error while checking types for Jason.Decoder.float\_decode\_function/1: in Docker](https://forum.elixirforum.com/t/runtimeerror-found-error-while-checking-types-for-jason-decoder-float-decode-function-1-in-docker/68906)

<div class="topic-metadata">

**Author:** [@tomielee](https://forum.elixirforum.com/u/tomielee)\
**Replies:** 3\
**Last updated:** [January 23, 2025, 9:39am UTC](https://forum.elixirforum.com/t/runtimeerror-found-error-while-checking-types-for-jason-decoder-float-decode-function-1-in-docker/68906 "2025-01-23T09:39:48Z")

</div>

Hi! I’m running a umbrella project in a docker container. In the container in a submodule I’m running mix deps.get I get an error ==\> jason Compiling 10 files (.ex) \*\* (EXIT from #PID\<0.95.0\>) an exception was raised: …

---

## [How to include Ortex in a Docker container?](https://forum.elixirforum.com/t/how-to-include-ortex-in-a-docker-container/68866)

<div class="topic-metadata">

**Author:** [@wwaldner](https://forum.elixirforum.com/u/wwaldner)\
**Replies:** 12\
**Last updated:** [January 21, 2025, 10:56pm UTC](https://forum.elixirforum.com/t/how-to-include-ortex-in-a-docker-container/68866 "2025-01-21T22:56:07Z")

</div>

I am trying to include Ortex in a docker container I am building. First started with Alpine container, and that is a no go. Alpine is going to be problematic because of the musl compiler… Compiling lib/ortex/native.ex (…

---

## [How to connect elixir phoenix api with docker container?](https://forum.elixirforum.com/t/how-to-connect-elixir-phoenix-api-with-docker-container/68360)

<div class="topic-metadata">

**Author:** [@henriquesati](https://forum.elixirforum.com/u/henriquesati)\
**Replies:** 7\
**Last updated:** [December 28, 2024, 4:40pm UTC](https://forum.elixirforum.com/t/how-to-connect-elixir-phoenix-api-with-docker-container/68360 "2024-12-28T16:40:33Z")

</div>

I have a application that was running on windows communicating with posgres via postgres mappig localhost8080 to 5432 on postgres container altought now I need to run everything on linux container, and I cant get to co…

---

## [Phoenix.js not reconnecting when server runs in Docker container](https://forum.elixirforum.com/t/phoenix-js-not-reconnecting-when-server-runs-in-docker-container/68005)

<div class="topic-metadata">

**Author:** [@namxam](https://forum.elixirforum.com/u/namxam)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 1:18pm UTC](https://forum.elixirforum.com/t/phoenix-js-not-reconnecting-when-server-runs-in-docker-container/68005 "2024-12-10T13:18:03Z")

</div>

I have a nodejs application which uses the phoenix javascript package to connect to a phoenix application. It works fine as long as I do not restart the phoenix application. Once I restart it, I have to manually restart …

---

## [Http request from within Elixir (BEAM) timeout when a Docker container is running](https://forum.elixirforum.com/t/http-request-from-within-elixir-beam-timeout-when-a-docker-container-is-running/67740)

<div class="topic-metadata">

**Author:** [@tduccuong](https://forum.elixirforum.com/u/tduccuong)\
**Replies:** 6\
**Last updated:** [December 10, 2024, 12:34am UTC](https://forum.elixirforum.com/t/http-request-from-within-elixir-beam-timeout-when-a-docker-container-is-running/67740 "2024-12-10T00:34:46Z")

</div>

Hi everyone, I have an Elixir app that sends out HTTP requests using HTTPoison. Usually it works fine, but I noticed it gives timeout error occasionally when a Docker container running in the same machine. The number of…

---

## [How to copy dependencies from outside Docker image build?](https://forum.elixirforum.com/t/how-to-copy-dependencies-from-outside-docker-image-build/57434)

<div class="topic-metadata">

**Author:** [@mikl](https://forum.elixirforum.com/u/mikl)\
**Replies:** 8\
**Last updated:** [December 6, 2024, 7:28pm UTC](https://forum.elixirforum.com/t/how-to-copy-dependencies-from-outside-docker-image-build/57434 "2024-12-06T19:28:10Z")

</div>

I have a multi-step Gitlab CI pipeline, where I’m trying to avoid downloading Hex dependencies multiple times, but I’m struggling with the step where the Docker image is built. In previous steps, I set MIX\_HOME to a \_mi…

---

## [ExWebRTC from a container?](https://forum.elixirforum.com/t/exwebrtc-from-a-container/67684)

<div class="topic-metadata">

**Author:** [@beamologist](https://forum.elixirforum.com/u/beamologist)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 12:47am UTC](https://forum.elixirforum.com/t/exwebrtc-from-a-container/67684 "2024-11-26T00:47:12Z")

</div>

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 contain…

---

## [Avoiding debian version for hexpm elixir images](https://forum.elixirforum.com/t/avoiding-debian-version-for-hexpm-elixir-images/67467)

<div class="topic-metadata">

**Author:** [@D4no0](https://forum.elixirforum.com/u/D4no0)\
**Replies:** 5\
**Last updated:** [November 13, 2024, 2:59pm UTC](https://forum.elixirforum.com/t/avoiding-debian-version-for-hexpm-elixir-images/67467 "2024-11-13T14:59:46Z")

</div>

I am currently trying to setup a CI that will build the docker image of the project. The caveat is that I am trying to use .tool-versions as the source of truth both for dev/CI and docker image. So far I managed to pass…

---

## [Multi-platform docker image build fails](https://forum.elixirforum.com/t/multi-platform-docker-image-build-fails/66916)

<div class="topic-metadata">

**Author:** [@anuaralfetahe](https://forum.elixirforum.com/u/anuaralfetahe)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 7:12pm UTC](https://forum.elixirforum.com/t/multi-platform-docker-image-build-fails/66916 "2024-10-22T19:12:49Z")

</div>

Hi, I’m trying to build a multi-platform Docker image based on elixir:1.17-otp-27. However, I’ve encountered an issue: the jason library fails to compile on arm64 because my host machine is running on amd64 architecture…

---

## [PhoenixAnalytics: Permission denied error when accessing DuckDB file in Docker/Coolify deployment](https://forum.elixirforum.com/t/phoenixanalytics-permission-denied-error-when-accessing-duckdb-file-in-docker-coolify-deployment/66851)

<div class="topic-metadata">

**Author:** [@RicoTrevisan](https://forum.elixirforum.com/u/RicoTrevisan)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 11:28am UTC](https://forum.elixirforum.com/t/phoenixanalytics-permission-denied-error-when-accessing-duckdb-file-in-docker-coolify-deployment/66851 "2024-10-22T11:28:50Z")

</div>

I’m trying to add PhoenixAnalytics by @lalabuy948 to a Phoenix project. I got it to work locally, but I can’t make it work on my Hetzner server. My guess is that I’ve got to change my Dockerfile but I’ve gone back and f…

[Next page](https://forum.elixirforum.com/tag/docker/89.md?match_all_tags=true&page=1&tags%5B%5D=docker)
