<img style="border: none; background:none; width: 0; height: 0;" src="https://share.polymail.io/v2/z/a/NWIwZjVhNGUyMDZi/p0pnH6WV5GEpB2l3XK3oB-jhODLwsFLHPwfgJbIqgCSGH0zJ_wbqx405q2mzzAyR_4Pr04ELvfBYYQ5VROvtmbw5cm0KBvJadNQqCsKmcVKOGuHw_bjuyE5uhF75y-CYB6fhd86SYxLNci5JlOqDSIs5WOHaEws1PxDkedpG.png" alt="" width="0px" height="0px" border="0" /><div></div>
<div>
Stéphane,</div><div><br></div><div>Thank you very much for the quick reply!</div><div><br></div><div>What are you are saying is pretty awesome! That would make it super easy to start using it. Is there any constraint in terms of what versions of LXC are supported ? I can run LXCFS with LXC 1.0.10 ? </div><div><br></div><div>In order to understand a little bit more about how LXCFS works, does LXCFS hook into LXC starting process and mount /proc/* files ?<br><br>
</div><div>Thank you very much again!</div><div><br></div><div>Best,</div>
<div id="psignature"><div>Martín</div></div>
<div class="gmail_extra"><br/><div class="gmail_quote"><div dir="ltr">On Wed, May 30, 2018 at 10:52 PM "Stéphane Graber" <stgraber> <<a href="mailto:" st="" graber="">">"Stéphane Graber" <stgraber> </stgraber></a>> wrote:<br/></stgraber></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><style><![CDATA[a, pre, code, a:link, body { word-wrap: break-word !important; }]]></style><p>_______________________________________________<br/>lxc-users mailing list<br/><a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br/><a href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></p><p>On Wed, May 30, 2018 at 05:08:59PM -0700, Martín Fernández wrote:
<br/>> Hello,
<br/>>
<br/>> We are using LXC to virtualize containers in multiple of our hosts. We have been running with LXC for a while now.
<br/>>
<br/>> We started adding monitoring tools to our systems and found the known issue that LXC containers show the host information on /proc/meminfo and /proc/cpuinfo.
<br/>>
<br/>> I found that LXCFS solves the problems mentioned above. What would be required to setup LXCFS in my hosts ? Would I need to reboot all the containers ? Do I need to restore my containers filesystem ? Is there any guide/documentation around it ?
<br/>>
<br/>> Thanks before hand!
<br/>>
<br/>> Best,
<br/>> Martín
<br/>
<br/>Hey there,
<br/>
<br/>You should just need to install lxcfs and then any container you start
<br/>or restart will be using it. There's no way to set it up against a
<br/>running container, but there's also no need to restart all your
<br/>containers immediately, you can slowly roll it out if that helps.
<br/>
<br/>And no changes needed to the containers, it gets setup automatically
<br/>through a lxc hook when the container starts.
<br/>
<br/>
<br/>--
<br/>Stéphane Graber
<br/>Ubuntu developer
<br/><a href="http://www.ubuntu.com">http://www.ubuntu.com</a>
<br/></p></blockquote></div></div><br/>