2
การดำเนินการคำสั่งภายใน LXC ที่รันอยู่
ฉันต้องการรันคำสั่งภายใน lxc ที่มีอยู่โดยไม่ต้องผ่าน init 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'