lxc-execute 給予錯誤

lxc-execute 給予錯誤

我一直在嘗試解決sleep 100在 lxc 容器上運行命令“”時遇到的錯誤。

我使用創建了一個簡單的容器

~$:lxc-create -t download -n guest -- -d ubuntu -r xenial -a amd64

但是,當我嘗試在這個新容器上執行命令時,我收到錯誤

~$lxc-execute -n guest -- sleep 100

lxc-execute:utils.c:safe_mount:1692 無效參數 - 無法安裝/sys/kernel/debug onto /usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug

init.lxc.static: initutils.c: mount_fs: 36 無法掛載 /proc : 設備或資源繁忙

相似地

~$: lxc-execute -n guest -- /bin/bash

lxc-execute: utils.c: safe_mount: 1692 參數無效 - 無法將 /sys/kernel/debug 掛載到 /usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug

init.lxc.static: initutils.c: mount_fs: 36 無法掛載 /proc : 設備或資源繁忙

bash:無法設定終端進程組(1):設備的 ioctl 不合適

bash:此 shell 中沒有作業控制 root@guest:/#

請有人對我的配置中缺少的內容提出建議。

謝謝KN

相關內容