Docker: Difference between revisions

imported>Jooooscha
mNo edit summary
imported>Kadimisetty
Line 17: Line 17:
</syntaxHighlight>
</syntaxHighlight>
{{Warning|Beware that the docker group membership is effectively [https://github.com/moby/moby/issues/9976 equivalent to being root]!}}
{{Warning|Beware that the docker group membership is effectively [https://github.com/moby/moby/issues/9976 equivalent to being root]!}}
If you prefer, you could achieve the same with this:
<syntaxHighlight lang=nix>
users.extraGroups.docker.members = [ "sri" ];
</syntaxHighlight>
If you're still unable to get access to the socket, you might have to re-login.


Note: If you use the [[btrfs]] filesystem, you might need to set the storageDriver option:
Note: If you use the [[btrfs]] filesystem, you might need to set the storageDriver option: