Docker: Difference between revisions
→System setup: Add note about restart being possibly required Tags: Mobile edit Mobile web edit |
|||
| Line 252: | Line 252: | ||
</translate> | </translate> | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix" line="1"> | ||
virtualisation.docker = { | virtualisation.docker = { | ||
# Consider disabling the system wide Docker daemon | # Consider disabling the system wide Docker daemon | ||
| Line 262: | Line 262: | ||
# Optionally customize rootless Docker daemon settings | # Optionally customize rootless Docker daemon settings | ||
daemon.settings = { | daemon.settings = { | ||
data-root = "~/.local/docker"; | |||
dns = [ "1.1.1.1" "8.8.8.8" ]; | dns = [ "1.1.1.1" "8.8.8.8" ]; | ||
registry-mirrors = [ "https://mirror.gcr.io" ]; | registry-mirrors = [ "https://mirror.gcr.io" ]; | ||