Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Proposal: Better IPv6 support #1176

@hairyhenderson

Description

@hairyhenderson

Right now, the IPv6 story with Docker Machine is pretty sketchy:

  • not all drivers have a way of enabling IPv6 support on hosts (even when the provider allows this)
  • even for the drivers where you can enable IPv6, you must also remember to use --engine-opt ipv6=true to configure Docker to support IPv6
  • even when Docker is configured to support IPv6, you need to also use --engine-opt fixed-cidr-v6=... to set the net block

But there's a problem with this last bit - providers will assign a /64 usually when the host is provisioned. So even if a user wanted to specify --engine-opt fixed-cidr-v6=... they wouldn't be able to assign a valid value.

So, here's the proposal:

  1. Add IPv6 enablement support to the drivers that are missing it
  2. When IPv6 support is enabled (for example, when --digitalocean-ipv6 is set), automatically figure out the assigned /64, and set --ipv6 and --fixed-cidr-v6 appropriately on the engine.

This is mostly just late-night brainstorming, and I realize there are gaps... But I think this is doable!

/cc @ehazlett @nathanleclaire @sthulb - WDTY?

(please also CC any others who have more clue than me about IPv6 in Docker)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions