如何在 LXC 容器中打开 shell

你可以使用以下命令在你的 LXC 容器中运行 shell

lxc_exec_example.sh
lxc exec [name of container] /bin/bash

例如

lxc_exec_mycontainer.sh
lxc exec mycontainer /bin/bash

Check out similar posts by category: LXC