2
在正在运行的LXC内执行命令
我想在现有的lxc中执行命令,而无需通过常规的Linux初始化。lxc-execute该命令是针对我的猜测,但是在现有的测试lxc上运行此命令时出现以下错误。 sudo lxc-execute -n test -- service apache2 start 我收到以下错误: lxc-execute: Failed to find an lxc-init lxc-execute: invalid sequence number 1. expected 4 lxc-execute: failed to spawn 'test'