Docker: Difference between revisions
imported>Mic92 fix links syntax |
imported>Yeshey No edit summary |
||
Line 18: | Line 18: | ||
users.users.<myuser>.extraGroups = [ "docker" ]; | users.users.<myuser>.extraGroups = [ "docker" ]; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
Note: In the '''btrfs''' filesystem you might need to set the storageDriver option, like so <code>virtualisation.docker.storageDriver = "btrfs"</code> | |||
== Building a docker image with nixpkgs == | == Building a docker image with nixpkgs == |