Jump to content

Docker: Difference between revisions

No change in size ,  2 March 2023
m
fix misplaced warning note
imported>Kadimisetty
imported>Kadimisetty
m (fix misplaced warning note)
Line 16: Line 16:
users.users.<myuser>.extraGroups = [ "docker" ];
users.users.<myuser>.extraGroups = [ "docker" ];
</syntaxHighlight>
</syntaxHighlight>
{{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:
If you prefer, you could achieve the same with this:
Line 24: Line 23:


If you're still unable to get access to the socket, you might have to re-login.
If you're still unable to get access to the socket, you might have to re-login.
{{Warning|Beware that the docker group membership is effectively [https://github.com/moby/moby/issues/9976 equivalent to being root]!}}


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:
Anonymous user