Docker
Enabling the docker service
Inside your configuration.nix
:
{
...
virtualisation.docker.enable = true;
}
Building a docker image with nixpkgs
There is an entry for dockerTools in the nixpkgs manual for reference but no Guide how to use it for a real-world application