Docker

From NixOS Wiki
Revision as of 10:04, 7 September 2017 by imported>Mic92 (→‎Building a docker image with nixpkgs)

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. In the nixpkgs repo some examples can be found.