[lxc-users] Help with LXC Exec

Andrey Repin anrdaemon at yandex.ru
Sat Dec 21 14:55:39 UTC 2019


Greetings, Bryan Christ!

> I'm trying to use an ansible plugin that controls LXC containers and it's
> ultimately failing because "lxc exec" fails.  This was a Ubuntu 16.04 system
> that was upgraded to 18.04 if that matters.  The problem looks like this:


> root at ironkite:/usr/bin# /usr/bin/lxc exec centos6-64-consolecraze --mode=non-interactive -- hostname
> Error: not found

"lxc" is part of LXD, the LXC orchestration system built on top of LXC itself.

> As an observation, if I use lxc-attach to run commands it works just fine.

On the contrary, "lxc-attach" is part of LXC itself.


-- 
With best regards,
Andrey Repin
Saturday, December 21, 2019 17:54:31

Sorry for my terrible english...


More information about the lxc-users mailing list