[lxc-users] tmux in attached containers?

florent at peterschmitt.fr florent at peterschmitt.fr
Mon May 11 20:09:26 UTC 2015


11 mai 2015 20:40 "Casey Marshall" <casey.marshall at canonical.com> a écrit:
> 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,

Hi,

First thing that pops in my mind is, did you tried --clear-env?


More information about the lxc-users mailing list