Jump to content

Docker: Difference between revisions

190 bytes added ,  7 September 2017
no edit summary
imported>Makefu
No edit summary
imported>Makefu
No edit summary
Line 8: Line 8:
   ...
   ...
   virtualisation.docker.enable = true;
   virtualisation.docker.enable = true;
}
</syntaxHighlight>
Adding users to the <code>docker</code> group will provide them access to the socket:
<syntaxHighlight lang="nix">
{
  users.users.<myuser>.extraGroups = [ "docker" ];
}
}
</syntaxHighlight>
</syntaxHighlight>
Anonymous user