Update docs/tech_docs/linux_lab_starting.md
This commit is contained in:
@@ -221,7 +221,14 @@ pct create 200 /var/lib/vz/template/cache/kali-default-rootfs.tar.xz --unprivile
|
||||
```
|
||||
Alpine Container (ID: 300):
|
||||
```bash
|
||||
pct create 300 /var/lib/vz/template/cache/alpine-default-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 --tag docker --storage local-lvm --memory 1024 --swap 256 --rootfs local-lvm:1,size=8G --net0 name=eth0,bridge=vmbr0,firewall=1 --net1 name=eth1,bridge=vmbr1,firewall=1
|
||||
pct create 300 /var/lib/vz/template/cache/alpine-default-rootfs.tar.xz --unprivileged 1 --arch amd64 --ostype alpine --hostname alpine-0 --tag docker --storage local-lvm --memory 1024 --swap 256 --rootfs local-lvm:1,size=8G --net0 name=eth0,bridge=vmbr0,name=eth0,ip=dhcp,ip6=dhcp,type=veth,firewall=1
|
||||
```
|
||||
|
||||
```bash
|
||||
pct stop 300
|
||||
```
|
||||
```bash
|
||||
pct destroy 300
|
||||
```
|
||||
|
||||
Changes:
|
||||
|
||||
Reference in New Issue
Block a user