tag:help.appveyor.com,2012-11-13:/discussions/problems/28285-self-hosted-cloud-with-docker-ipv6-disabled-by-default-how-to-enableAppVeyor: Discussion 2020-09-29T10:48:18Ztag:help.appveyor.com,2012-11-13:Comment/486697172020-09-28T09:58:39Z2020-09-28T09:58:39Zself hosted cloud with docker: ipv6 disabled by default, how to enable?<div><p>Hello,</p>
<p>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.<br>
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).</p>
<p>Kind regards</p>
<p>Noel</p></div>noel.kuntzetag:help.appveyor.com,2012-11-13:Comment/486697172020-09-28T16:31:53Z2020-09-28T16:31:53Zself hosted cloud with docker: ipv6 disabled by default, how to enable?<div><p>Hi Noel,</p>
<p>AppVeyor uses <code>docker network create</code> command for creating ad-hoc NAT networks. I see it has <code>--ipv6</code> option ("Enable IPv6 networking") which might be what we need.</p>
<p>We are going to implement that via environment variables and publish an updated host agent.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/486697172020-09-28T19:15:52Z2020-09-28T19:15:52Zself hosted cloud with docker: ipv6 disabled by default, how to enable?<div><p>OK, we've published an updated Host Agent:<br>
Linux: <a href="https://appveyordownloads.blob.core.windows.net/appveyor/7.0.2942/appveyor-host-agent_7.0.2942_amd64.deb">https://appveyordownloads.blob.core.windows.net/appveyor/7.0.2942/a...</a><br>
Windows: <a href="https://appveyordownloads.blob.core.windows.net/appveyor/7.0.2942/appveyor-host-agent-7.0.2942-win-x64.msi">https://appveyordownloads.blob.core.windows.net/appveyor/7.0.2942/a...</a></p>
<p>To enable IPv6 on created Docker network define the following environment (either in appveyor.yml or on UI) for your project: <code>docker_ipv6: true</code></p>
<p>Let me know how it worked.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/486697172020-09-29T10:48:17Z2020-09-29T10:48:17Zself hosted cloud with docker: ipv6 disabled by default, how to enable?<div><p>Hello Feodor,</p>
<p>Thank you for the update. It works for me.</p>
<p>Kind regards</p>
<p>Noel</p></div>noel.kuntze