docker 开启ipv6

目前已开启docker的ipv6支持 访问还是无效。
修改1panel-network开启ipv6 怎么开启?
商店中安装应用,默认怎么改网络

Containers中的IPV6需要配置吗?有要求吗?

{
  "Name": "1panel-network",
  "Id": "92a2d811d5a252015b69d7a0364f3531eae091ce458d3e98f4e627ddf80bbd3e",
  "Created": "2023-05-17T19:27:15.438842285+08:00",
  "Scope": "local",
  "Driver": "bridge",
  "EnableIPv6": true,
  "IPAM": {
    "Driver": "default",
    "Options": null,
    "Config": [
      {
        "Subnet": "172.18.0.0/16",
        "Gateway": "172.18.0.1"
      }
    ]
  },
  "Internal": false,
  "Attachable": false,
  "Ingress": false,
  "ConfigFrom": {
    "Network": ""
  },
  "ConfigOnly": false,
  "Containers": {
    "135eedcb86d4ba1431f5f14a923fe0be1657663efee151314e04da69ff0ffa5b": {
      "Name": "1Panel-redis-commander-LgER",
      "EndpointID": "6614d89d8214a66a593607a1e08988ffa813c293a8d5f660b1b404e959f9ca3f",
      "MacAddress": "02:42:ac:12:00:06",
      "IPv4Address": "172.18.0.6/16",
      "IPv6Address": ""
    },
    "3e4df83ea100d87f02f7d524fb7c8024dddadaf5e43dc0ebd44def6f2cef155d": {
      "Name": "1Panel-mysql-Db6o",
      "EndpointID": "0a78a16f426cdcd16d07683f5572868f180be5927197760e0747b403f7200e90",
      "MacAddress": "02:42:ac:12:00:04",
      "IPv4Address": "172.18.0.4/16",
      "IPv6Address": ""
    },
    "3f1304dc947000444e6c5c6d7f57f4d1feabc74e01abe6eaec144389fa1ed1fc": {
      "Name": "1Panel-wiki-m7wU",
      "EndpointID": "ed5140be24d53e51717229e10662217c4f633aa68898a5fd76fb5e912eda9dd7",
      "MacAddress": "02:42:ac:12:00:05",
      "IPv4Address": "172.18.0.5/16",
      "IPv6Address": ""
    },
    "6cc5c8f3013ded341b4f6252526ab862064b1d82d8f9638db93b68c1a06ec74f": {
      "Name": "1Panel-redis-TNhr",
      "EndpointID": "8a59cf5c21a53d57aaa602ded3d99fc7bcca9f51e6cb4c8f226551427f6f561a",
      "MacAddress": "02:42:ac:12:00:02",
      "IPv4Address": "172.18.0.2/16",
      "IPv6Address": ""
    },
    "79131745e0f36911e41cd4391abb2ad63b3d8d3f536745858c864a0967667a68": {
      "Name": "1Panel-watchtower-tK4G",
      "EndpointID": "376df6dd41634b5f7f482ff23dd4e67a32478e5a6d18cc6e2374715854c84b63",
      "MacAddress": "02:42:ac:12:00:07",
      "IPv4Address": "172.18.0.7/16",
      "IPv6Address": ""
    },
    "94f3fbd65b7495e6330456311d9751dd696ee872ccb668cc81e0dc4b7a696a24": {
      "Name": "1Panel-docker-registry-WEzB",
      "EndpointID": "4942ae5da2493da91abdfa6e4090298693e86e17a375903c5e6b557e1b1fe747",
      "MacAddress": "02:42:ac:12:00:03",
      "IPv4Address": "172.18.0.3/16",
      "IPv6Address": ""
    }
  },
  "Options": {},
  "Labels": {}
}

v1.9.0 版本会支持在配置和容器网络中开启 IPv6。


升级到了1.9按说明删除原有网络,添加网络,报错,啥问题

ipv6中改成3段,网络是添加成功了。可通过ipv6外网还是无法访问

容器配置中只能设置四段 2409:xxxx:xxxx:xxxx::/80 网络中设置2段,这个是不是也有问题

在服务器上执行 curl IPv6地址,能正常返回结果吗?

[root@xxx ~]# curl IPv6
curl: (6) Could not resolve host: IPv6; 未知的错误