To use cgmanager in containers, you need to tell lxc to bind mount the
cgmanager socket into the container by adding the following line into
the container configuration file (e.g. /var/lib/lxc/container/config).