[Lxc-users] Howto detect we are in LXC contener

David Touzeau david at touzeau.eu
Wed May 25 23:51:30 UTC 2011


Dear all

to detect if we are inside an OpenVZ, openvzve,xen machine
we can check the presence of :
/proc/vz/veinfo
/proc/vz/version
/proc/sys/xen
/sys/bus/xen
/proc/xen

But i did not find any information inside the LXC contener in order to
detect We are really in an LXC contener.

Is there a tip ??

Best regards







More information about the lxc-users mailing list