Docker Enable IPv6ΒΆ

The O-RAN Alliance specifications target the support of IPv6. To support IPv6 by docker the docker configuration must be modified.

Please see: https://docs.docker.com/config/daemon/ipv6/

  1. Edit /etc/docker/daemon.json, set the ipv6 key to true and the fixed-cidr-v6 key to your IPv6 subnet. In this example we are setting it to 2001:db8:1::/64.

 1{
 2    "dns": ["1.1.1.1"],
 3    "registry-mirrors": [
 4        "https://nexus3.o-ran-sc.org:10002",
 5        "https://nexus3.onap.org:10001"
 6    ],
 7    "log-driver": "json-file",
 8    "log-opts": {
 9        "max-size": "10m",
10        "max-file": "3"
11    },
12    "ipv6": true,
13    "fixed-cidr-v6": "2001:db8:1::/64"
14}
  1. Reload the Docker configuration file.

1$ systemctl reload docker