Thread overview
What's our container story?
5 days ago
Lance Bachmeier
5 days ago
Dukc
4 days ago
Sergey
5 days ago

With Apple's Containerization announcement yesterday and GitHub Codespaces running Linux containers, it appears the container thing is a big deal. I admit I don't know a lot about them beyond playing with Docker a few years back.

Looking at Docker Hub, I see there is an organization called dlangdockerized that makes semi-recent releases of DMD and LDC available. Do we have any getting started documentation available, and do we provide any other containers (for instance, to do web development)? I plan to use GitHub Codespaces for a class I'm teaching next semester. It would sure be nice to have some guidance on getting things up and running. This seems to be the extent of the documentation: docker pull dlangdockerized/dmd and then the user is on their own to figure out the rest.

5 days ago

On Tuesday, 10 June 2025 at 15:10:15 UTC, Lance Bachmeier wrote:

>

With Apple's Containerization announcement yesterday and GitHub Codespaces running Linux containers, it appears the container thing is a big deal. I admit I don't know a lot about them beyond playing with Docker a few years back.

Looking at Docker Hub, I see there is an organization called dlangdockerized that makes semi-recent releases of DMD and LDC available. Do we have any getting started documentation available, and do we provide any other containers (for instance, to do web development)? I plan to use GitHub Codespaces for a class I'm teaching next semester. It would sure be nice to have some guidance on getting things up and running. This seems to be the extent of the documentation: docker pull dlangdockerized/dmd and then the user is on their own to figure out the rest.

Kaj Nackes post on our official blog is probably the best starting point.

Personally, I use Nix to build my docker containers. I don't have to know much about Docker, in fact I've never written a dockerfile! I also get extremely small containers since Nix will only put what really is needed to the container. No base OS image needed! It does mean you have to learn Nix and most likely also Lionellos dub2nix.

4 days ago

On Tuesday, 10 June 2025 at 15:10:15 UTC, Lance Bachmeier wrote:

>

running. This seems to be the extent of the documentation: docker pull dlangdockerized/dmd and then the user is on their own to figure out the rest.

Previously there was most up-to-date repo from China:
https://github.com/dlangchina/docker-dlang/tree/master

But now dlangdockertized is handled by Elias and Jonas - I would say should be recommended image for usage.

As usual DLF doesn’t care about production level things, but at least we have some heroes in community :)