Jump to content

Docker: Difference between revisions

45 bytes added ,  7 June 2021
m
root must also be added to docker group
imported>Roberth
m (Add docker options link)
imported>Cyounkins
m (root must also be added to docker group)
Line 13: Line 13:
[https://search.nixos.org/options?from=0&size=50&sort=alpha_asc&query=virtualisation.docker More options] are available.
[https://search.nixos.org/options?from=0&size=50&sort=alpha_asc&query=virtualisation.docker More options] are available.


Adding users to the <code>docker</code> group will provide them access to the socket:
Adding users to the <code>docker</code> group will provide them access to the socket. This is required even for <code>root</code>.
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
{
{
Anonymous user