constants: DOCKER_IPv6_SUBNET

This commit is contained in:
Girish Ramakrishnan
2025-04-28 18:20:04 +02:00
parent 475239bd02
commit d8a9ef8187
2 changed files with 4 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ async function createDockerNetwork() {
await shell.spawn('docker', ['network', 'rm', '-f', 'cloudron'], {});
// the --ipv6 option will work even in ipv6 is disabled. fd00 is IPv6 ULA
await shell.spawn('docker', ['network', 'create', `--subnet=${constants.DOCKER_IPv4_SUBNET}`, `--ip-range=${constants.DOCKER_IPv4_RANGE}`,
`--gateway=${constants.DOCKER_IPv4_GATEWAY}`, '--ipv6', '--subnet=fd00:c107:d509::/64', 'cloudron'], {});
`--gateway=${constants.DOCKER_IPv4_GATEWAY}`, '--ipv6', `--subnet=${constants.DOCKER_IPv6_SUBNET}`, 'cloudron'], {});
}
async function removeAllContainers() {