diff --git a/src/middlewared/middlewared/etc_files/docker/daemon.json.py b/src/middlewared/middlewared/etc_files/docker/daemon.json.py index 602c8f8254e82..3fb32af1aef2c 100644 --- a/src/middlewared/middlewared/etc_files/docker/daemon.json.py +++ b/src/middlewared/middlewared/etc_files/docker/daemon.json.py @@ -22,6 +22,16 @@ def render(service, middleware): 'exec-opts': ['native.cgroupdriver=cgroupfs'], 'iptables': True, 'storage-driver': 'overlay2', + 'default-address-pools': [ + { + 'base': '172.30.0.0/16', + 'size': 27 + }, + { + 'base': '172.31.0.0/16', + 'size': 27 + }, + ], } isolated = middleware.call_sync('system.advanced.config')['isolated_gpu_pci_ids'] for gpu in filter(lambda x: x not in isolated, get_nvidia_gpus()):