Docker: Difference between revisions
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> | ||
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: |