Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How to disable IPv6 in Docker containers deployed by Cloudbreak on Azure

avatar
Expert Contributor

When trying to troubleshoot an Ambari issue on an HDP deployment using Cloudbreak on Azure, I noticed that IPv6 was enabled and that Ambari was only listening on IPv6. The container had not been started with the --ipv6 flag and I was under the impression that IPv6 was disabled by default in the images. Is this not the case? Presumably '--ipv6=false' needs to be passed when starting the containers to turn it off?

1 ACCEPTED SOLUTION

avatar
Rising Star

You don't have to disable anything. The containers are launchd with net=host which means they inherit the host's network. Azure does not support IPv6, thus there are no routable IPv6 addresses for the container. Beside Azure does not support IPv6 (this this can't be an issue) by default Docker is configured with IPv4 only. This is definitely has nothing to do with IPv6 ...

View solution in original post

2 REPLIES 2

avatar
Rising Star

You don't have to disable anything. The containers are launchd with net=host which means they inherit the host's network. Azure does not support IPv6, thus there are no routable IPv6 addresses for the container. Beside Azure does not support IPv6 (this this can't be an issue) by default Docker is configured with IPv4 only. This is definitely has nothing to do with IPv6 ...

avatar

Azure does not support IPv6. Docker containers inherit the host's network AFAIK. So, you don't have to disable IPv6. Here is Azure FAQ for your reference.

Does Azure support IPv6?

Microsoft has played a leading role in helping customers to smoothly transition from IPv4 to IPv6 for the past several years. To date, Microsoft has built IPv6 support into many of its products and solutions like Windows 8 and Windows Server 2012 R2. Microsoft is committed to expanding the worldwide capabilities of the Internet through IPv6 and enabling a variety of valuable and exciting scenarios, including peer-to-peer and mobile applications. The foundational work to enable IPv6 in the Azure environment is well underway. However, we are unable to share a date when IPv6 support will be generally available at this time. For more information on IPv6 technologies and IPv6 support available in the Windows operating system today, see Microsoft’s IPv6 information site which includes business, technical, and developer resources: http://technet.microsoft.com/en-us/network/bb530961