self hosted cloud with docker: ipv6 disabled by default, how to enable?

noel.kuntze's Avatar

noel.kuntze

28 Sep, 2020 09:58 AM

Hello,

The self hosted cloud by default creates networks that have IPv6 disabled. However, for the majority of tests, we need native IPv6 on at least the loopback interface. Is there a way to enable that? I haven't found anything with google or manually searching the docs.
The way to enable it would be to just enable it - or at least not disable it - when creating the docker networks with the AppVeyor host agent (it does that automatically).

Kind regards

Noel

  1. Support Staff 1 Posted by Feodor Fitsner on 28 Sep, 2020 04:31 PM

    Feodor Fitsner's Avatar

    Hi Noel,

    AppVeyor uses docker network create command for creating ad-hoc NAT networks. I see it has --ipv6 option ("Enable IPv6 networking") which might be what we need.

    We are going to implement that via environment variables and publish an updated host agent.

  2. Support Staff 2 Posted by Feodor Fitsner on 28 Sep, 2020 07:15 PM

    Feodor Fitsner's Avatar

    OK, we've published an updated Host Agent:
    Linux: https://appveyordownloads.blob.core.windows.net/appveyor/7.0.2942/a...
    Windows: https://appveyordownloads.blob.core.windows.net/appveyor/7.0.2942/a...

    To enable IPv6 on created Docker network define the following environment (either in appveyor.yml or on UI) for your project: docker_ipv6: true

    Let me know how it worked.

  3. 3 Posted by noel.kuntze on 29 Sep, 2020 10:48 AM

    noel.kuntze's Avatar

    Hello Feodor,

    Thank you for the update. It works for me.

    Kind regards

    Noel

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac