docs: Docker IPv6

This commit is contained in:
Daniel Langbein 2023-10-10 17:21:41 +02:00
parent 15cf852cb9
commit 4b628fee5d
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -12,6 +12,21 @@
# As we use btrfs, we enable the according storageDriver option. # As we use btrfs, we enable the according storageDriver option.
storageDriver = "btrfs"; storageDriver = "btrfs";
# IPv6 support.
# https://search.nixos.org/options?channel=23.05&show=virtualisation.docker.daemon.settings
# https://docs.docker.com/config/daemon/ipv6/#use-ipv6-for-the-default-bridge-network
# TODO: See notes in Jinja-Compose/proxy.yml.jinja2 why this is not yet ready to use.
# daemon.settings = {
# # Enable IPv6 networking on the default network.
# ipv6 = true;
# # Assign a subnet to the default bridge network, enabling dynamic IPv6 address allocation.
# fixed-cidr-v6 = "2001:db8:1::/64";
# # Enable additional IPv6 packet filter rules, providing network isolation and port mapping.
# # This parameter requires experimental to be set to `true`.
# ip6tables = true;
# experimental = true;
# };
# Run `docker system prune -f ${autoPrune.flags}` every week. # Run `docker system prune -f ${autoPrune.flags}` every week.
autoPrune.enable = true; autoPrune.enable = true;
autoPrune.dates = "weekly"; autoPrune.dates = "weekly";