启用 IPV6 支持
说明
- 基于 NAT
- 请使用最新版本的 Docker
cd /opt/jumpserver-installerer-v2.23.3
./jmsctl.sh down
vi /opt/jumpserver/config/config.txt
## IPV6
USE_IPV6=1
DOCKER_SUBNET_IPV6=fc00:1010:1111:200::/64
vi /etc/docker/daemon.json
# 加入下面内容,注意不要覆盖已有的内容
{
"ipv6": true,
"fixed-cidr-v6": "fc00:1010:1111:100::/64",
"experimental": true,
"ip6tables": true,
}
systemctl restart docker
./jmsctl.sh start
修改完成后的 daemon.json 供参考
{
"data-root": "/var/lib/docker",
"experimental": true,
"fixed-cidr-v6": "fc00:1010:1111:100::/64",
"ip6tables": true,
"ipv6": true,
"live-restore": true,
"log-driver": "json-file",
"log-opts": {
"max-file": "3",
"max-size": "10m"
},
"registry-mirrors": [
"https://hub-mirror.c.163.com",
"http://f1361db2.m.daocloud.io"
]
}
当前内容版权归 JumpServer 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 JumpServer .