diff --git a/docs/en/guide/incus/incus_qa.md b/docs/en/guide/incus/incus_qa.md index b09bd527b6..11940f6c5a 100644 --- a/docs/en/guide/incus/incus_qa.md +++ b/docs/en/guide/incus/incus_qa.md @@ -26,6 +26,16 @@ Reboot the system for the changes to take effect If the above changes still do not support the opening of centos7, try using a different host system. +## Requires both Incus and Docker compatibility to exist + +If left unaddressed, docker will override the iptables setting and cause Incus to have no network link + +You need to install a scheduled task to detect and fix this issue + +```shell +curl -L https://raw.githubusercontent.com/oneclickvirt/incus/main/extra_scripts/docker-coexistence.sh -o docker-coexistence.sh && chmod +x docker-coexistence.sh && bash docker-coexistence.sh +``` + ## Currently verified VPS vendors that can open containers with separate IPV6 addresses. [kuroit](https://my.kuroit.com/aff.php?aff=5) Phoenix, USA regular diff --git a/docs/en/guide/lxd/lxd_qa.md b/docs/en/guide/lxd/lxd_qa.md index 0badcf275e..adc7007e6e 100644 --- a/docs/en/guide/lxd/lxd_qa.md +++ b/docs/en/guide/lxd/lxd_qa.md @@ -41,6 +41,16 @@ Reboot the system for the changes to take effect If the above changes still do not support the opening of centos7, try using a different host system. +## Requires both LXD and Docker compatibility to exist + +If left unaddressed, docker will override the iptables setting and cause LXD to have no network link + +You need to install a scheduled task to detect and fix this issue + +```shell +curl -L https://raw.githubusercontent.com/oneclickvirt/incus/main/extra_scripts/docker-coexistence.sh -o docker-coexistence.sh && chmod +x docker-coexistence.sh && bash docker-coexistence.sh +``` + ## Currently verified VPS vendors that can open containers with separate IPV6 addresses. [kuroit](https://my.kuroit.com/aff.php?aff=5) Phoenix, USA regular diff --git a/docs/guide/incus/incus_qa.md b/docs/guide/incus/incus_qa.md index f3d199f8a6..ce7b7777fc 100644 --- a/docs/guide/incus/incus_qa.md +++ b/docs/guide/incus/incus_qa.md @@ -4,7 +4,7 @@ outline: deep # 解惑 -## 开设centos7发现报错CGroupV1不支持怎么办 +## 开设centos7发现报错CGroupV1不支持 启用CGroup V1:要在Ubuntu系统上启用CGroup V1,需要编辑内核启动参数。 @@ -26,6 +26,24 @@ sudo update-grub 如果上述更改仍旧不支持开设centos7,那么请使用别的宿主机系统尝试 +## 需要Incus和Docker兼容同时存在 + +如果不做处理,docker会覆写iptables设置导致Incus无网络链接 + +需要安装一个定时任务定时检测和修复这个问题 + +国际 + +```shell +curl -L https://raw.githubusercontent.com/oneclickvirt/incus/main/extra_scripts/docker-coexistence.sh -o docker-coexistence.sh && chmod +x docker-coexistence.sh && bash docker-coexistence.sh +``` + +国内 + +```shell +curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/incus/main/extra_scripts/docker-coexistence.sh -o docker-coexistence.sh && chmod +x docker-coexistence.sh && bash docker-coexistence.sh +``` + ## 目前已验证可开带独立IPV6地址容器的VPS商家 [kuroit](https://my.kuroit.com/aff.php?aff=5) 中的 美国凤凰城 regular diff --git a/docs/guide/lxd/lxd_qa.md b/docs/guide/lxd/lxd_qa.md index d25a00b0a6..a20efc01c6 100644 --- a/docs/guide/lxd/lxd_qa.md +++ b/docs/guide/lxd/lxd_qa.md @@ -4,7 +4,7 @@ outline: deep # 解惑 -## 如果LXD安装后lxc命令显示找不到怎么办 +## LXD安装后lxc命令显示找不到 ``` ! lxc -h >/dev/null 2>&1 && echo 'alias lxc="/snap/bin/lxc"' >> /root/.bashrc && source /root/.bashrc @@ -19,7 +19,7 @@ lxc -h 看看lxc命令是否已修复 -## 开设centos7发现报错CGroupV1不支持怎么办 +## 开设centos7发现报错CGroupV1不支持 启用CGroup V1:要在Ubuntu系统上启用CGroup V1,需要编辑内核启动参数。 @@ -41,6 +41,24 @@ sudo update-grub 如果上述更改仍旧不支持开设centos7,那么请使用别的宿主机系统尝试 +## 需要LXD和Docker兼容同时存在 + +如果不做处理,docker会覆写iptables设置导致LXD无网络链接 + +需要安装一个定时任务定时检测和修复这个问题 + +国际 + +```shell +curl -L https://raw.githubusercontent.com/oneclickvirt/incus/main/extra_scripts/docker-coexistence.sh -o docker-coexistence.sh && chmod +x docker-coexistence.sh && bash docker-coexistence.sh +``` + +国内 + +```shell +curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/incus/main/extra_scripts/docker-coexistence.sh -o docker-coexistence.sh && chmod +x docker-coexistence.sh && bash docker-coexistence.sh +``` + ## 目前已验证可开带独立IPV6地址容器的VPS商家 [kuroit](https://my.kuroit.com/aff.php?aff=5) 中的 美国凤凰城 regular