Report this

What is the reason for this report?

vps have 16 ipv6 ,how to map these IPV6 to the 16 of docker containeris which is simple puling down ubutun,

Posted on December 6, 2018

vps have 16 ipv6 ,how to map these IPV6 to the 16 of docker containeris which is simple puling of ubutun, when you communiate with a IPV6 of the vps ,the data normally go to the docker. 16 docker container like 16 vps.



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!

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.

Hello,

I just came across this question.

What you could do is enable IPv6 for your Docker deamon by editing your /etc/docker/daemon.json file and setting the ipv6 key to true.

{
  "ipv6": true
}

Then save the file and reload the Docker configuration file:

  1. systemctl reload docker

After that you will be able to create networks with the --ipv6 flag and assign containers IPv6 addresses using the --ip6 flag.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.