# \#docker

**URL:** https://discourse.julialang.org/tag/docker/329.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Experimenting with a Docker-based MCP server for Julia](https://discourse.julialang.org/t/experimenting-with-a-docker-based-mcp-server-for-julia/136166)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 2\
**Last updated:** [May 5, 2026, 2:37pm UTC](https://discourse.julialang.org/t/experimenting-with-a-docker-based-mcp-server-for-julia/136166 "2026-05-05T14:37:54Z")

</div>

This is still very much an experiment, but it’s been working well for my workflows where I want the AI to have access to a full Julia environment without giving it access to my local network or filesystem, so I thought I…

---

## [Could not instantiate \`CUDA\` in container](https://discourse.julialang.org/t/could-not-instantiate-cuda-in-container/136964)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 2\
**Last updated:** [May 3, 2026, 7:07pm UTC](https://discourse.julialang.org/t/could-not-instantiate-cuda-in-container/136964 "2026-05-03T19:07:33Z")

</div>

I have a project manifest for Julia 1.12.4 containing \[\[deps.CUDA\]\] deps = \["AbstractFFTs", "Adapt", "BFloat16s", "CEnum", "CUDA\_Compiler\_jll", "CUDA\_Driver\_jll", "CUDA\_Runtime\_Discovery", "CUDA\_Runtime\_jll", "Crayons",…

---

## [Cannot prevent repeated precompilation in docker runtime](https://discourse.julialang.org/t/cannot-prevent-repeated-precompilation-in-docker-runtime/136606)

<div class="topic-metadata">

**Author:** [@dopamine](https://discourse.julialang.org/u/dopamine)\
**Replies:** 1\
**Last updated:** [April 8, 2026, 2:16pm UTC](https://discourse.julialang.org/t/cannot-prevent-repeated-precompilation-in-docker-runtime/136606 "2026-04-08T14:16:16Z")

</div>

Hello, I’m deploying a julia script via docker, and can’t seem to prevent precompilation during runtime, which is very expensive, time-wise. So I observe that precompilation happens normally during the build time, but i…

---

## [Speed up dockerization](https://discourse.julialang.org/t/speed-up-dockerization/135971)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 8\
**Last updated:** [March 3, 2026, 9:52pm UTC](https://discourse.julialang.org/t/speed-up-dockerization/135971 "2026-03-03T21:52:28Z")

</div>

I am deploying Julia code using docker. In order to speed up the startup of the container I build a package using PackageCompiler.jl. However this is painfully slow, as it rebuilds everything even if I change one line i…

---

## [Issues with Julia 1.12.2 Docker with GAP.jl](https://discourse.julialang.org/t/issues-with-julia-1-12-2-docker-with-gap-jl/134558)

<div class="topic-metadata">

**Author:** [@RYB](https://discourse.julialang.org/u/RYB)\
**Replies:** 3\
**Last updated:** [December 16, 2025, 12:27am UTC](https://discourse.julialang.org/t/issues-with-julia-1-12-2-docker-with-gap-jl/134558 "2025-12-16T00:27:18Z")

</div>

Hello, I’m relatively new to Docker and Julia so I would appreciate any advice. I am trying to create a Docker container for Julia 1.12.2 with CUDA.jl, Oscar.jl (and hence GAP.jl), and some other libraries. Namely, I wa…

---

## [Add registry from git-tree-sha1 for deterministic Docker builds](https://discourse.julialang.org/t/add-registry-from-git-tree-sha1-for-deterministic-docker-builds/134512)

<div class="topic-metadata">

**Author:** [@hhaensel](https://discourse.julialang.org/u/hhaensel)\
**Replies:** 2\
**Last updated:** [December 12, 2025, 11:37am UTC](https://discourse.julialang.org/t/add-registry-from-git-tree-sha1-for-deterministic-docker-builds/134512 "2025-12-12T11:37:04Z")

</div>

These days we read a lot about malicious code being introduced to Github. I am running many julia projects in docker containers, where I want to make sure that the build is done with the same package versions as on my d…

---

## [Lessons learnt and thoughts on deploying Julia and sysimages on AWS](https://discourse.julialang.org/t/lessons-learnt-and-thoughts-on-deploying-julia-and-sysimages-on-aws/130669)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 1\
**Last updated:** [August 29, 2025, 1:57pm UTC](https://discourse.julialang.org/t/lessons-learnt-and-thoughts-on-deploying-julia-and-sysimages-on-aws/130669 "2025-08-29T13:57:17Z")

</div>

I have spent a portion of my time on and off over the past two weeks trying to build docker containers with sysimages to deploy on AWS. Over that time I have run into various issues and thought it worthwhile writing up m…

---

## [Docker tags for pre-release Julia versions](https://discourse.julialang.org/t/docker-tags-for-pre-release-julia-versions/129211)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 1\
**Last updated:** [July 27, 2025, 7:12am UTC](https://discourse.julialang.org/t/docker-tags-for-pre-release-julia-versions/129211 "2025-07-27T07:12:09Z")

</div>

Does anyone know why the official Julia Docker images have an -rc tag for the pre-release (currently eg 1.12-rc)? This is a bit cumbersome as when 1.12 is released, I will have to manually remove the -rc from various fi…

---

## [Using Docker image on Julia](https://discourse.julialang.org/t/using-docker-image-on-julia/130242)

<div class="topic-metadata">

**Author:** [@Methmika\_Jayawardene](https://discourse.julialang.org/u/Methmika_Jayawardene)\
**Replies:** 1\
**Last updated:** [June 26, 2025, 11:37pm UTC](https://discourse.julialang.org/t/using-docker-image-on-julia/130242 "2025-06-26T23:37:06Z")

</div>

Hello guys, I have a Docker image that you can find on this link, GitHub - Universite-Gustave-Eiffel/waveguicsx: waveguicsx, a python library for solving complex waveguide problems. I would like to know if it is possi…

---

## [How to load a devcontainer with julia into github codespaces in 2025](https://discourse.julialang.org/t/how-to-load-a-devcontainer-with-julia-into-github-codespaces-in-2025/126094)

<div class="topic-metadata">

**Author:** [@mikeliux](https://discourse.julialang.org/u/mikeliux)\
**Replies:** 1\
**Last updated:** [June 5, 2025, 11:15am UTC](https://discourse.julialang.org/t/how-to-load-a-devcontainer-with-julia-into-github-codespaces-in-2025/126094 "2025-06-05T11:15:15Z")

</div>

As of 2025, I would like to know how to add a container preloaded with julia to github’s codespaces. I tried these answers to load julia 1.11.3 into github’s codespaces, but I failed: Julia support for GitHub Codespa…

---

## [Using docker2exe with Julia](https://discourse.julialang.org/t/using-docker2exe-with-julia/128795)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 1\
**Last updated:** [May 8, 2025, 3:48am UTC](https://discourse.julialang.org/t/using-docker2exe-with-julia/128795 "2025-05-08T03:48:38Z")

</div>

Hi, just out of curiosity. This would work with Julia too? For example, to ship educational standalone Pluto notebooks (many, not just one) with all packages precompiled and installed? Of course the size might be GBs…

---

## [Development with Docker and CUDA](https://discourse.julialang.org/t/development-with-docker-and-cuda/123884)

<div class="topic-metadata">

**Author:** [@hilario](https://discourse.julialang.org/u/hilario)\
**Replies:** 5\
**Last updated:** [December 17, 2024, 11:23am UTC](https://discourse.julialang.org/t/development-with-docker-and-cuda/123884 "2024-12-17T11:23:49Z")

</div>

Hi. I am developing code for my research and I’d like to make it run in a machine in which I don’t have permission to install Julia. I am not developing any “app”, I just want to be able to run my code, do my tests, expa…

---

## [What can I remove from /.julia?](https://discourse.julialang.org/t/what-can-i-remove-from-julia/121657)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 6\
**Last updated:** [October 24, 2024, 11:50pm UTC](https://discourse.julialang.org/t/what-can-i-remove-from-julia/121657 "2024-10-24T23:50:00Z")

</div>

I am trying to build a slim docker image to run an app. I’m using PackageCompiler.jl to build a sysimage (using filter\_stdlibs). I’d like to remove unnecessary files from the .julia file to slim even more. I feel pretty…

---

## [Creating a Docker Base Image for Faster Deployments](https://discourse.julialang.org/t/creating-a-docker-base-image-for-faster-deployments/121165)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 1\
**Last updated:** [October 11, 2024, 8:27am UTC](https://discourse.julialang.org/t/creating-a-docker-base-image-for-faster-deployments/121165 "2024-10-11T08:27:58Z")

</div>

In my experience, deploying Julia to the cloud can be frustrating because it can be slow to build the container used to your app. I don’t seem to be the only one. A major gripe is that AWS CodeBuild can’t do layer cachin…

---

## [\[RFC\] Cloud+Container Infrastructure Management](https://discourse.julialang.org/t/rfc-cloud-container-infrastructure-management/112685)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 11\
**Last updated:** [October 10, 2024, 8:39pm UTC](https://discourse.julialang.org/t/rfc-cloud-container-infrastructure-management/112685 "2024-10-10T20:39:51Z")

</div>

I asked a question previously about managing incremental builds of Julia Docker containers but didn’t hear much back. Since then, I’ve been sketching out some ideas that I’d appreciate feedback on. The Problem Deploying…

---

## [Recommended recipe for deploying a Julia app in Docker with efficient precompilation?](https://discourse.julialang.org/t/recommended-recipe-for-deploying-a-julia-app-in-docker-with-efficient-precompilation/95591)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 3\
**Last updated:** [October 10, 2024, 8:38pm UTC](https://discourse.julialang.org/t/recommended-recipe-for-deploying-a-julia-app-in-docker-with-efficient-precompilation/95591 "2024-10-10T20:38:22Z")

</div>

Now that Julia 1.9/10 precompilation is doing more the first time a package is used, I’m seeing rather slow (7-8 minutes) restarts on a production docker image of my Julia app. When I run it locally with packages that h…

---

## [Sharing precompiled code across docker images](https://discourse.julialang.org/t/sharing-precompiled-code-across-docker-images/68229)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 5\
**Last updated:** [August 30, 2024, 11:21am UTC](https://discourse.julialang.org/t/sharing-precompiled-code-across-docker-images/68229 "2024-08-30T11:21:28Z")

</div>

I’m struggling with the precompilation time in julia inside docker image. We have some projects in julia in docker, and we’re doing changes quite often to this project, but the packages that take most time to precompile…

---

## [Proposed Julia Docker workflow to use a "persistent" depot](https://discourse.julialang.org/t/proposed-julia-docker-workflow-to-use-a-persistent-depot/97963)

<div class="topic-metadata">

**Author:** [@omus](https://discourse.julialang.org/u/omus)\
**Replies:** 11\
**Last updated:** [August 27, 2024, 2:02pm UTC](https://discourse.julialang.org/t/proposed-julia-docker-workflow-to-use-a-persistent-depot/97963 "2024-08-27T14:02:01Z")

</div>

When developing a Julia library or application I typically find myself incrementally adding or modifying my package dependencies. If the particular Julia application also needs to be included in a Docker image this itera…

---

## [SELinux and julia](https://discourse.julialang.org/t/selinux-and-julia/117420)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 11:41am UTC](https://discourse.julialang.org/t/selinux-and-julia/117420 "2024-07-25T11:41:39Z")

</div>

Hi there, I am building on top of the julia docker and am running the build inside a kubernetes which has SELinux enabled. I am getting the following error during build \> \[10/18\] RUN \<\<'EOT' (#!/usr/bin/env julia...):…

---

## [Certain packages do not precompile in Julia Docker](https://discourse.julialang.org/t/certain-packages-do-not-precompile-in-julia-docker/115824)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 2:55pm UTC](https://discourse.julialang.org/t/certain-packages-do-not-precompile-in-julia-docker/115824 "2024-06-20T14:55:40Z")

</div>

Cheers, My docker container uses several packages and ran smoothly up to the point I added package ImageInTerminal to the environment. Apparently, the container needs an artifact file that is not being pulled/created. E…

---

## [Plots.jl in a docker container](https://discourse.julialang.org/t/plots-jl-in-a-docker-container/109254)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 4\
**Last updated:** [January 26, 2024, 11:49am UTC](https://discourse.julialang.org/t/plots-jl-in-a-docker-container/109254 "2024-01-26T11:49:42Z")

</div>

I am trying to use Plots.jl in a docker container (FROM julia:1.9.4-bookworm). I think I am able to create the plots, but I get various warnings and errors from qt. Examples include: qt.core.plugin.factoryloader: Got …

---

## [Pkg: not sure whats going on](https://discourse.julialang.org/t/pkg-not-sure-whats-going-on/106071)

<div class="topic-metadata">

**Author:** [@roh\_codeur](https://discourse.julialang.org/u/roh_codeur)\
**Replies:** 7\
**Last updated:** [November 18, 2023, 9:49am UTC](https://discourse.julialang.org/t/pkg-not-sure-whats-going-on/106071 "2023-11-18T09:49:23Z")

</div>

Hi I have a dockerfile with the below lines: WORKDIR /data/code/Olorin/ ENV JULIA\_PROJECT="/data/code/Olorin/" RUN cd /data/code/Olorin/ && \\ julia --project="/data/code/Olorin" -e 'using Pkg; Pkg.instantiate()' \> …

---

## [Docker Task Error (SIGINT)](https://discourse.julialang.org/t/docker-task-error-sigint/104036)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 5\
**Last updated:** [September 20, 2023, 1:59am UTC](https://discourse.julialang.org/t/docker-task-error-sigint/104036 "2023-09-20T01:59:10Z")

</div>

I’m trying to run some code in a Docker container on AWS. It works locally, but fails with a cryptic error once in the Cloud. I can’t find a MWE because the stack trace really doesn’t give me much information to go off o…

---

## [Error with SSL Certificates using Docker](https://discourse.julialang.org/t/error-with-ssl-certificates-using-docker/102362)

<div class="topic-metadata">

**Author:** [@Thiago-Simoes](https://discourse.julialang.org/u/Thiago-Simoes)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 12:06am UTC](https://discourse.julialang.org/t/error-with-ssl-certificates-using-docker/102362 "2023-09-19T00:06:29Z")

</div>

I’m using Docker to create a Julia container, but I can’t install the packages inside docker. I have a RUN line on Dockerfile for instantiate project, but it’s generating errors with SSL certificates. # pull latest juli…

---

## [Julia does not start on ARM64v8 | exec /usr/local/julia/bin/julia: exec format error](https://discourse.julialang.org/t/julia-does-not-start-on-arm64v8-exec-usr-local-julia-bin-julia-exec-format-error/97793)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 6\
**Last updated:** [September 2, 2023, 10:17am UTC](https://discourse.julialang.org/t/julia-does-not-start-on-arm64v8-exec-usr-local-julia-bin-julia-exec-format-error/97793 "2023-09-02T10:17:58Z")

</div>

Hi there, I am using julia\_pod to run Julia on kubernetes. Everything works on local minikube, but when switching to my freshly created kubernetes on ARM, I get the following error log: exec /usr/local/julia/bin/julia: …

---

## [Docker Image layer with package dependency](https://discourse.julialang.org/t/docker-image-layer-with-package-dependency/103348)

<div class="topic-metadata">

**Author:** [@A\_M](https://discourse.julialang.org/u/A_M)\
**Replies:** 0\
**Last updated:** [August 30, 2023, 12:15am UTC](https://discourse.julialang.org/t/docker-image-layer-with-package-dependency/103348 "2023-08-30T00:15:42Z")

</div>

I plan to create a docker base image with Julia and all packages for my projects. I will not copy my projects into the docker at this phase, but I have all Project. toml files. What is the proper way to get all packages …

---

## [Seemingly unnecessary Precompilation with Julia 1.9 in a Docker container](https://discourse.julialang.org/t/seemingly-unnecessary-precompilation-with-julia-1-9-in-a-docker-container/99892)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 16\
**Last updated:** [June 8, 2023, 4:28pm UTC](https://discourse.julialang.org/t/seemingly-unnecessary-precompilation-with-julia-1-9-in-a-docker-container/99892 "2023-06-08T16:28:30Z")

</div>

I have a Julia web server running within a Docker container. Everything used to run fine with Julia 1.8.3. I’m trying to upgrade to Julia 1.9, and now it seems the server takes too much time to start when I deploy it. It…

---

## [How does \`--heap\_size\_hint\` relate to improvements for \`Sys.total\_memory()\`?](https://discourse.julialang.org/t/how-does-heap-size-hint-relate-to-improvements-for-sys-total-memory/100006)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [June 7, 2023, 2:46pm UTC](https://discourse.julialang.org/t/how-does-heap-size-hint-relate-to-improvements-for-sys-total-memory/100006 "2023-06-07T14:46:27Z")

</div>

Hi there, I am looking to make Julia run smoothly on a kubernetes pod. There seem to be two things which somehow improve stability: Expose constrained memory limits and have the GC use them by maleadt · Pull Request …

---

## [Heap-size-hint usage recommendations](https://discourse.julialang.org/t/heap-size-hint-usage-recommendations/98697)

<div class="topic-metadata">

**Author:** [@rssdev10](https://discourse.julialang.org/u/rssdev10)\
**Replies:** 3\
**Last updated:** [May 30, 2023, 3:20am UTC](https://discourse.julialang.org/t/heap-size-hint-usage-recommendations/98697 "2023-05-30T03:20:55Z")

</div>

Julia 1.9 got a new CLI option --heap-size-hint. See #45369 for details and Julia execution inside a container with restricted RAM This option allows to set a soft limit of memory consumption when the garbage collector …

---

## [Switching users in a Dockerfile to precompile a package](https://discourse.julialang.org/t/switching-users-in-a-dockerfile-to-precompile-a-package/96998)

<div class="topic-metadata">

**Author:** [@SeSodesa](https://discourse.julialang.org/u/SeSodesa)\
**Replies:** 2\
**Last updated:** [April 8, 2023, 1:41pm UTC](https://discourse.julialang.org/t/switching-users-in-a-dockerfile-to-precompile-a-package/96998 "2023-04-08T13:41:19Z")

</div>

I would like to build a Docker image for grading student submissions on the A+ LMS. In addition to the base Debian system, the image would contain two separate Julia projects: /exercise\_project and /tests. The student su…

[Next page](https://discourse.julialang.org/tag/docker/329.md?match_all_tags=true&page=1&tags%5B%5D=docker)
