"lxc stop $CONTAINER" freezes

You may want to look at lxc console to see what it’s getting stuck on.