What's our container story?

Dukc ajieskola at gmail.com
Tue Jun 10 15:58:23 UTC 2025


On Tuesday, 10 June 2025 at 15:10:15 UTC, Lance Bachmeier wrote:
> With Apple's [Containerization announcement 
> yesterday](https://www.youtube.com/watch?v=JvQtvbhtXmo) 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](https://dlang.org/blog/2019/03/14/containerize-your-d-server-application/) 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](https://github.com/lionello/dub2nix).


More information about the Digitalmars-d mailing list