lxc fixes and lxc duplicator implementation