lxd/db/containers.go
func (c *ClusterTx) ContainerNodeProjectList(project string) ([]Container, error) {
	node, err := c.NodeName()
	if err != nil {
		return nil, errors.Wrap(err, "Local node name")
	}
	filter := ContainerFilter{
		Project: project,
		Node:    node,
		Type:    int(CTypeRegular),
	}

	return c.ContainerList(filter)
}
func (c *ClusterTx) ContainerNodeProjectList(project string) ([]Container, error) {
	node, err := c.NodeName()
	if err != nil {
		return nil, errors.Wrap(err, "Local node name")
	}
	filter := ContainerFilter{
		Project: project,
		Node:    node,
		Type:    int(CTypeRegular),
	}

	return c.ContainerList(filter)
}
// ContainerNodeProjectList returns all container objects on the local node within the given project.