[lxc-users] Disable lxc-attach
Claudio Cesar Sanchez Tejeda
demonccc.y at gmail.com
Mon Jan 12 13:37:39 UTC 2015
Thanks!
But... how can I remove the pid of the namespace?
What functionalities are we going to lose by removing the pid?
Regards.
On Fri, Jan 9, 2015 at 9:02 PM, Vijay Viswanathan <vijay.vishy at gmail.com> wrote:
> There is no straight forward way.
>
> There is one hack with some functionality sacrifice.
> You could remove the pid namespace and start your container and
> lxc-attach will break.
>
> lxc-attach: No such file or directory - failed to open '/proc/4579/ns/pid'
> lxc-attach: failed to enter the namespace
>
>
>
> On Tue, Jan 6, 2015 at 11:15 AM, Claudio Cesar Sanchez Tejeda
> <demonccc.y at gmail.com> wrote:
>> Hi,
>>
>> Does someone know how I can disable the lxc-attach command / functionality?
>>
>> I wan't to create a complete isolated LXC container, and I don't want
>> that someone could start processes or enter to the container using a
>> shell (or run commands).
>>
>> Regards.
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list