How can I disable IPv6 on an Ubuntu 13 VM?

I added blacklist ipv6 to /etc/modprobe.d/blacklist.conf and GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 console=ttyS0" to /etc/default/grub and rebooted but I’m still seeing IPv6 interfaces. Docker has an issue where if it sees ipv6 interfaces it won’t bind to any ipv4 ones.

Is there any way I can disable ipv6 on digital ocean?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Ah, that’s better…

Sigh, why have I got that name displayed?

Nope: <br> <br>ifconfig | grep inet <br> inet addr:xx.xx.xx.xx Bcast: Mask: <br> inet6 addr: fexx::xxx:xxxx:xxxx:xxx/64 Scope:Link <br> inet addr: Mask: <br>