After running both "sudo lxc-setuid" and "sudo lxc-setcap", both lxc-info and lxc-stop still doesn't work. Here's an example:
gleber@first:/etc/apt/sources.list.d$ lxc-start-ephemeral -d -o ci1
Setting up ephemeral container...
Starting up the container...
ci1-temp-RTqI6s8 is running
You connect with the command:
sudo lxc-console -n ci1-temp-RTqI6s8...
This script is for working around lack of support for lxc-attach in non-patched Kernel.
It makes use of lxc-ip script which I've sent previously.
As before, I'll be glad to improve it if it's quality is not good enough.
Here's a script, based off lxc-start-ephemeral, which outputs list of IP addresses used by the container. I found it to be useful when programmatically manage containers.
This is based on Ubuntu's version 0.8.0~rc1-4ubuntu38
I'll be happy to improve it if it is not of the acceptable quality