This commit is contained in:
colben 2025-03-12 18:05:39 +08:00
parent 617cbf506f
commit 3f78f9d0d9

View File

@ -276,11 +276,13 @@ incus3 | eth0: 192.168.1.3 | 10.10.10.3 | /dev/sdb | 10.10.10.3 incus3
- 启动一个系统级容器 alpine-lxc - 启动一个系统级容器 alpine-lxc
```BASH ```BASH
# 单机环境 # 单机环境
incus launch local:alpine/3.21 alpine-lxc incus launch local:alpine/3.21 alpine-lxc \
-c limits.cpu=2 -c limits.memory=4GiB -d root,size=5GiB
# 集群环境中的 incus2 节点 # 集群环境中的 incus2 节点
```BASH ```BASH
incus launch local:alpine/3.21 alpine-lxc \ incus launch local:alpine/3.21 alpine-lxc \
-c limits.cpu=2 -c limits.memory=4GiB -d root,size=5GiB \
--network incusbr --storage pool1 --target incus2 --network incusbr --storage pool1 --target incus2
``` ```