[lxc-users] lxc-attach vs lxc-console

Andrey Repin anrdaemon at yandex.ru
Sun Oct 4 22:12:38 UTC 2015


Greetings, Andrew Davidson!

> I am a very new user of LXC, and I have not been able to ascertain when I
> should be using lxc-attach vs lxc-console. Googling does not seem to have a solid answer.

> Are there any cases where it is better or worse to use one or the other?

> lxc-attach seems much more convenient and practical, but I wanted to make
> sure I wasn’t mis-using it and would end up with a trashed host system.

lxc-console is more like a glorified GNU screen.
I.e. you attach to a session where you've left it. However, it has all the
disadvantages of a real console as well. Limited editing capabilities, limited
scrollback support etc.


-- 
With best regards,
Andrey Repin
Monday, October 5, 2015 01:10:56

Sorry for my terrible english...


More information about the lxc-users mailing list