I want to execute a command inside an existing lxc without going through the regular Linux init.
lxc-execute
command is for that I guess but I get the following error when I run this command on my existing test lxc.
sudo lxc-execute -n test -- service apache2 start
I get following error:
lxc-execute: Failed to find an lxc-init
lxc-execute: invalid sequence number 1. expected 4
lxc-execute: failed to spawn 'test'
Asked by user52881
(211 rep)
Nov 22, 2013, 12:35 PM
Last activity: Apr 10, 2025, 05:57 PM
Last activity: Apr 10, 2025, 05:57 PM