[lxc-users] tmux in attached containers?

Casey Marshall casey.marshall at canonical.com
Mon May 11 18:39:39 UTC 2015


Hi,
How can I get tmux working in an attached LXC container?

I've tried using tmux in the shell with "lxc-attach", as well as with "lxc exec ... /bin/bash" with the LXD client. It just exits rc=1.

I could install openssh-server inside the container, import my keys, etc. but that seems like unnecessary overhead if I could just attach.

Is there something I can set up in the config or profile to get tmux working?

Thanks,
-- 
Casey Marshall <casey.marshall at canonical.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150511/b699cfb8/attachment.sig>


More information about the lxc-users mailing list