[Bug 1244301] Re: lxc-attach stopped working for docker containers
Serge Hallyn
1244301 at bugs.launchpad.net
Fri Oct 25 22:52:33 UTC 2013
** Description changed:
I think https://github.com/lxc/lxc/commit/69733b5dd27e6963267ff6473d9b41dfb59a3f0f has fixed this bug and am requesting for a new release of lxc in saucy and trusty.
The main blocker is that docker containers are hitted by https://github.com/dotcloud/docker/issues/2278 where lxc-attach can no longer attach to them.
Thanks !
+
+ =====================
+ 1. impact: containers starte with a custom configuration file cannot be controlled the same way as normal containers. Instead a custom lxcpath, formed by appending "_anon" to the real lxcpath, must be apssed to lxc-console, lxc-stop, lxc-attach, etc.
+ 2. development fix: don't specify a custom lxcpath
+ 3. stable fix: same as dev fix
+ 4. test case:
+ sudo lxc-create -t ubuntu -n u1
+ sudo lxc-start -n u1 -f /var/lib/lxc/u1/config
+ sudo lxc-info -n u1
+ # shows not running
+ 5. regression potential: this is cherrypicked from upstream and should have no regressions.
+ ========================
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1244301
Title:
lxc-attach stopped working for docker containers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1244301/+subscriptions
More information about the Ubuntu-server-bugs
mailing list