Docker: Difference between revisions

From NixOS Wiki
imported>Makefu
Created page with " == Enabling the docker service == Inside your <code>configuration.nix</code>: <syntaxHighlight lang="nix"> { ... virtualisation.docker.enable = true; } </syntaxHighlight..."
 
imported>Makefu
Line 11: Line 11:


== Building a docker image with nixpkgs ==
== Building a docker image with nixpkgs ==
There is [https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools] for reference but no Guide how to use it for a real-world application
There is [https://nixos.org/nixpkgs/manual/#sec-pkgs-dockerTools an entry for dockerTools in the nixpkgs manual ] for reference but no Guide how to use it for a real-world application


[[Category:Guide]]
[[Category:Guide]]

Revision as of 09:18, 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 but no Guide how to use it for a real-world application