> For the complete documentation index, see [llms.txt](https://kawsing.gitbook.io/opensystem/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kawsing.gitbook.io/opensystem/andoid-shou-ji/pomoxve/lxc-run-docker.md).

# LXC run docker

於 Proxmox VE先建立一個  LXC，注意這個 LXC 必須是無特權容器（unprivileged）模式

<div align="left"><img src="/files/-LpLNXjhCB7zun1SvH0t" alt=""></div>

建立好容器，啟動前須設定這個 LXC 要支援巢狀，如下圖，選項 => 功能 => 勾選 keyctl 及 巢狀（nesting）

![](/files/-LpLO4bsxHq4e8k4ZCBF)

![](/files/-LpLOV6XtLLIhBVlpFi9)

進入LXC，安裝curl

```
apt install curl
curl -sSL https://get.docker.com | sh
```

<div align="left"><img src="/files/-LpLU24zxw3NbxAE0nkg" alt=""></div>

docker run hello-world
