Support IPv6 on the default Docker bridge for ECS variants
I would like to contribute IPv6 support for ECS bridge tasks through Bottlerocket's settings API.
We use Bottlerocket 1.66.0 (aws-ecs-3, ARM64) with multiple containers in one bridge task. We need IPv6 egress while retaining IPv4 connectivity, separate container network namespaces and a network-disabled initializer. Docker supports bridge IPv6, but the core-kit Docker template exposes no equivalent configuration.
Proposed behavior
- Add one optional IPv6 subnet setting for the default Docker bridge
- Keep Docker's IPv6 firewall handling enabled, without a separate toggle
Unset - Preserve existing behavior
Configured - Enable Docker's ipv6 setting and use the supplied subnet as fixed-cidr-v6
Scope and affected repositories
The change targets the workload Docker engine in ECS variants.
| Repository | Expected responsibility |
|---|---|
bottlerocket-settings-sdk |
Define the IPv6 subnet setting |
bottlerocket-core-kit |
Render it into Docker configuration and integrate with settings application |
bottlerocket |
Incorporate the updated components into ECS variants |
I can implement the changes and document the setting. Does this API shape and repository split fit the project's preferred approach?
Alternatives Considered
awsvpcshares a task network namespace and does not support our per-container networking disablement- Editing generated Docker configuration in the system bootstrap bypasses Bottlerocket's settings model
Supported bridge configuration would preserve our existing architecture and security posture.
Source: bottlerocket-os/bottlerocket