# 將主機上的目錄綁定給LXC容器

### mkdir /zfs/lxc

### chow 100000:100000 /zfs/lxc

### pct set 你的\<CTID> -mp0 /zfs/lxc,mp=/data

```
pct set 103 -mp0 /zfs/lxc,mp=/data

cat /etc/pve/lxc/103.conf
--------------------------------------
arch: amd64
cores: 1
features: keyctl=1,nesting=1
hostname: debian-lxc
memory: 1024
mp0: /zfs/lxc,mp=/data
net0: name=eth0,bridge=vmbr1,firewall=1,gw=10.99.0.254,hwaddr=86:46:C$
ostype: debian
rootfs: local-zfs:basevol-101-disk-0/subvol-103-disk-0,size=8G
swap: 1024
unprivileged: 1
--------------------------------------------
```

![](/files/-Lqy_ZStJ1RVlVD9zsjk)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kawsing.gitbook.io/opensystem/andoid-shou-ji/pomoxve/untitled-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
