nix-community/docker-nixpkgs

docker images from nixpkgs [maintainer=@zimbatm]

Nix

251

164 commits

updated Jul 8, 2026

See the code

README

docker-nixpkgs: docker images from nixpkgs

This project is a collection of docker images automatically produced with Nix and the latest nixpkgs package set. All the images are refreshed daily with the latest versions of nixpkgs.

It's also a good demonstration on how to build and publish Docker images with Nix.

Always keep your docker images fresh!

Why use Nix to build docker images?

Nix has a number of advantages over Dockerfile when producing docker images:

  • builds are more likely to be repeatable and binary reproducible
  • Nix will only rebuild the minimum set of changes with no manual intervention
  • Nix produces optimised layers with no manual intervention
  • nixpkgs provides automatic security updates

Example usage

Here is an example of using one of the docker images. Usage will change from image to image.

# run the curl image which has curl as an entry-point
$ docker run -ti --rm nixpkgs/curl curl http://ifconfig.co
180.52.248.114

Channels

Each image is built with the following nixpkgs channels and map to the following image tag.

The version of the packages included in each image depends on what version the nixpkgs channel describes.

ChannelImage TagDescription
nixos-25.11nixos-25.11only minor versions that include security updates
nixos-26.05nixos-26.05only minor versions that include security updates
nixos-unstablelatestlatest and greatest, major versions might change

List of images

Here is the current list of images that are provided. Missing one? Send an image request.

All images are automatically built and published to Docker Hub, and served on our custom domain, courtesy of Scarf.

> ./readme-image-matrix

Image / TagPull
nixpkgs/atticdocker pull docker.nix-community.org/nixpkgs/attic
nixpkgs/bashdocker pull docker.nix-community.org/nixpkgs/bash
nixpkgs/busyboxdocker pull docker.nix-community.org/nixpkgs/busybox
nixpkgs/cachixdocker pull docker.nix-community.org/nixpkgs/cachix
nixpkgs/cachix-flakesdocker pull docker.nix-community.org/nixpkgs/cachix-flakes
nixpkgs/caddydocker pull docker.nix-community.org/nixpkgs/caddy
nixpkgs/curldocker pull docker.nix-community.org/nixpkgs/curl
nixpkgs/devcontainerdocker pull docker.nix-community.org/nixpkgs/devcontainer
nixpkgs/devenvdocker pull docker.nix-community.org/nixpkgs/devenv
nixpkgs/docker-composedocker pull docker.nix-community.org/nixpkgs/docker-compose
nixpkgs/hugodocker pull docker.nix-community.org/nixpkgs/hugo
nixpkgs/kubectldocker pull docker.nix-community.org/nixpkgs/kubectl
nixpkgs/kubernetes-helmdocker pull docker.nix-community.org/nixpkgs/kubernetes-helm
nixpkgs/maddydocker pull docker.nix-community.org/nixpkgs/maddy
nixpkgs/nginxdocker pull docker.nix-community.org/nixpkgs/nginx
nixpkgs/nixdocker pull docker.nix-community.org/nixpkgs/nix
nixpkgs/nix-flakesdocker pull docker.nix-community.org/nixpkgs/nix-flakes
nixpkgs/nix-unstabledocker pull docker.nix-community.org/nixpkgs/nix-unstable
nixpkgs/nix-unstable-staticdocker pull docker.nix-community.org/nixpkgs/nix-unstable-static
nixpkgs/pocket-iddocker pull docker.nix-community.org/nixpkgs/pocket-id
nixpkgs/yarrdocker pull docker.nix-community.org/nixpkgs/yarr

Adding new images

To add a new image to the project, create a new folder under ./images/<image-name> with a default.nix that returns the docker image.

Then run nix-build -A <image-name> to test that it builds, and then use docker load -i /nix/store/...<image-name>.tar.gz to load and test the image.

User Feedback

Issues

If you have any problems with or questions about this project, please contact us through a GitHub issue

Image request

Submit a request with an accompanying use-case for an image that you would like to see.

Contributing

You are invited to contribute new features, fixes or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

  • The docker-library is an image set maintained by the Docker Inc. team and contain officially-supported images.

  • Nixery is a pretty cool service that builds docker images from nixpkgs attributes on the fly.

License

Copyright (c) 2021 @zimbatm and contributors.

Licensed under the MIT.

docker-image
nixpkgs

Contributors

zimbatm

108 commits

dependabot[bot]

16 commits

Mic92

9 commits

Scrumplex

4 commits

nix-community/docker-nixpkgs

docker images from nixpkgs [maintainer=@zimbatm]

Nix

251

164 commits

updated Jul 8, 2026

See the code

README

docker-nixpkgs: docker images from nixpkgs

This project is a collection of docker images automatically produced with Nix and the latest nixpkgs package set. All the images are refreshed daily with the latest versions of nixpkgs.

It's also a good demonstration on how to build and publish Docker images with Nix.

Always keep your docker images fresh!

Why use Nix to build docker images?

Nix has a number of advantages over Dockerfile when producing docker images:

  • builds are more likely to be repeatable and binary reproducible
  • Nix will only rebuild the minimum set of changes with no manual intervention
  • Nix produces optimised layers with no manual intervention
  • nixpkgs provides automatic security updates

Example usage

Here is an example of using one of the docker images. Usage will change from image to image.

# run the curl image which has curl as an entry-point
$ docker run -ti --rm nixpkgs/curl curl http://ifconfig.co
180.52.248.114

Channels

Each image is built with the following nixpkgs channels and map to the following image tag.

The version of the packages included in each image depends on what version the nixpkgs channel describes.

ChannelImage TagDescription
nixos-25.11nixos-25.11only minor versions that include security updates
nixos-26.05nixos-26.05only minor versions that include security updates
nixos-unstablelatestlatest and greatest, major versions might change

List of images

Here is the current list of images that are provided. Missing one? Send an image request.

All images are automatically built and published to Docker Hub, and served on our custom domain, courtesy of Scarf.

> ./readme-image-matrix

Image / TagPull
nixpkgs/atticdocker pull docker.nix-community.org/nixpkgs/attic
nixpkgs/bashdocker pull docker.nix-community.org/nixpkgs/bash
nixpkgs/busyboxdocker pull docker.nix-community.org/nixpkgs/busybox
nixpkgs/cachixdocker pull docker.nix-community.org/nixpkgs/cachix
nixpkgs/cachix-flakesdocker pull docker.nix-community.org/nixpkgs/cachix-flakes
nixpkgs/caddydocker pull docker.nix-community.org/nixpkgs/caddy
nixpkgs/curldocker pull docker.nix-community.org/nixpkgs/curl
nixpkgs/devcontainerdocker pull docker.nix-community.org/nixpkgs/devcontainer
nixpkgs/devenvdocker pull docker.nix-community.org/nixpkgs/devenv
nixpkgs/docker-composedocker pull docker.nix-community.org/nixpkgs/docker-compose
nixpkgs/hugodocker pull docker.nix-community.org/nixpkgs/hugo
nixpkgs/kubectldocker pull docker.nix-community.org/nixpkgs/kubectl
nixpkgs/kubernetes-helmdocker pull docker.nix-community.org/nixpkgs/kubernetes-helm
nixpkgs/maddydocker pull docker.nix-community.org/nixpkgs/maddy
nixpkgs/nginxdocker pull docker.nix-community.org/nixpkgs/nginx
nixpkgs/nixdocker pull docker.nix-community.org/nixpkgs/nix
nixpkgs/nix-flakesdocker pull docker.nix-community.org/nixpkgs/nix-flakes
nixpkgs/nix-unstabledocker pull docker.nix-community.org/nixpkgs/nix-unstable
nixpkgs/nix-unstable-staticdocker pull docker.nix-community.org/nixpkgs/nix-unstable-static
nixpkgs/pocket-iddocker pull docker.nix-community.org/nixpkgs/pocket-id
nixpkgs/yarrdocker pull docker.nix-community.org/nixpkgs/yarr

Adding new images

To add a new image to the project, create a new folder under ./images/<image-name> with a default.nix that returns the docker image.

Then run nix-build -A <image-name> to test that it builds, and then use docker load -i /nix/store/...<image-name>.tar.gz to load and test the image.

User Feedback

Issues

If you have any problems with or questions about this project, please contact us through a GitHub issue

Image request

Submit a request with an accompanying use-case for an image that you would like to see.

Contributing

You are invited to contribute new features, fixes or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.

  • The docker-library is an image set maintained by the Docker Inc. team and contain officially-supported images.

  • Nixery is a pretty cool service that builds docker images from nixpkgs attributes on the fly.

License

Copyright (c) 2021 @zimbatm and contributors.

Licensed under the MIT.

docker-image
nixpkgs

Contributors

zimbatm

108 commits

dependabot[bot]

16 commits

Mic92

9 commits

Scrumplex

4 commits

Languages

Nix

69.3%

Shell

30.7%