constants: DOCKER_IPv6_SUBNET
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user