call allocate network when restoring a container