lxd/db/containers.go
func (c *Cluster) ContainerRemove(project, name string) error {
	return c.Transaction(func(tx *ClusterTx) error {
		return tx.ContainerDelete(project, name)
	})
}
func (c *Cluster) ContainerRemove(project, name string) error {
	return c.Transaction(func(tx *ClusterTx) error {
		return tx.ContainerDelete(project, name)
	})
}
// ContainerRemove removes the container with the given name from the database.