Docker: Difference between revisions

From NixOS Wiki
imported>Mic92
imported>Makefu
No edit summary
Line 1: Line 1:
{{Expansion|This article is incomplete.}}


== Enabling the docker service ==
== Enabling the docker service ==

Revision as of 12:36, 7 September 2017

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.