[lxc-users] Help with LXC Exec

Bryan Christ bryan.christ at gmail.com
Sat Dec 21 01:37:12 UTC 2019


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

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

-- 
Bryan
<><
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20191220/0af02148/attachment.html>


More information about the lxc-users mailing list