mirror of
https://github.com/oneclickvirt/oneclickvirt.github.io.git
synced 2026-06-04 01:30:48 +08:00
fix: 添加LXD/INCUS与Docker共存的额外设置说明
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user