Skip to content

ipv6 support in containers? #1889

Closed
Closed

Description

@phillbaker

What challenge are you facing?

(If I've missed a configuration setting, I apologize - I think this is a feature request, but might just be a documentation clarification.)

Some of the jobs we run make connections to ipv6-only addresses, and currently fail because (I believe) ipv6 support is not enabled when concourse configures garden (which wraps guardian's runc). The hosts we run concourse on are ipv6 enabled.

There was some support for ipv6 loopback in guardian added in cloudfoundry/guardian#79, and then made more extensible with cloudfoundry/guardian#100.

A Modest Proposal

I believe we could configure AdditionalHostEntries in the garden config to contain at least the loopback. I don't fully understand how garden is configured for its current ipv4 networking, but would appreciate a few pointers and then would like to submit a PR adding support for ipv6 configuration.

Activity

  1. vito commented on Jan 25, 2018

    @vito
    Contributor

    How is your Concourse deployed? I believe IPv6 is currently disabled in all BOSH stemcells for example. We don't really have any say in the matter from the Concourse side.

  2. phillbaker commented on Jan 25, 2018

    @phillbaker
    ContributorAuthor
    • Concourse version: 3.8.0
    • Deployment type (BOSH/Docker/binary): Binary
    • Infrastructure/IaaS: AWS
    • btrfs
    • Ubuntu 16.04.3 LTS

    Thanks for taking a look!

  3. added a commit that references this issue on Apr 11, 2018
  4. phillbaker commented on Aug 16, 2019

    @phillbaker
    ContributorAuthor

    Was this closed as a "won't fix" or because it was believed to have been fixed?

  5. Infinoid commented on Jul 28, 2020

    @Infinoid

    This does not appear to be fixed. At least with the concourse/concourse image on dockerhub, the worker container can have a valid IPv6 configuration, but when the worker runs a task, that task does not have access to IPv6 services.

  6. vito commented on Jul 28, 2020

    @vito
    Contributor

    @Infinoid Would you mind opening a new Discussion for this? It may be something we can address with the new containerd based backend we've been working on.

  7. Infinoid commented on Jul 28, 2020

    @Infinoid

    I opened Discussion #5919.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions