Skip to content

[Feature] Docker can enable IPv6 support by default. For existing installations, it can be enabled by following these steps #12202

@helloworldiambeok

Description

@helloworldiambeok

1Panel Version

docker 可以默认开启 ipv6 支持

Please describe your needs or suggestions for improvements

开发者可以默认打开这个设置的,顺手的事情,用户开启这个ipv6 需要走很大的弯路(特别是在看了官方的开启步骤之后)

容器配置-基础配置- ipv6-开启- 子网: fd00::/80
网络这里新建 1panel-network 的ipv4网络的时候顺便就加上ipv6了,
docker network create
--driver bridge
--ipv6
--subnet=172.18.0.0/16
--gateway=172.18.0.1
--subnet=fd00:dead:beef::/64
--gateway=fd00:dead:beef::1
1panel-network

上面的配置统一固定设置,可以写死。
不需要根据本机的公网ipv6来设置,局域网映射就可以了,参考来源
basecamp/kamal#1418

如果你已经安装了的,根据上面步骤可以加上了,前提是停止所有占用网络的容器,删除 1panel-network 网络,命令新建即可

Please describe the solution you suggest

No response

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions