I'm switching from OpenVZ to lxc. The one thing that is really bugging me is that I can't find a lxc alternative to vzctl exec. Before on OpenVZ I could do vzctl exec 1033 restart nginx. Now, all I can figure out to do is either run sshd in every container or use lxc-console, and I don't like either option (the first is too much management overhead, the second is too much of a hassle).
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
|||
|
|
|
There is still no equivalent. The most similar command is lxc-execute that creates a container and executes a command, but it is not what you are looking for. |
|||
|
|