node-lxc
    Preparing search index...

    Variable ListAllDefinedContainers

    ListAllDefinedContainers: (lxcpath?: string) => string[]

    Type Declaration

      • (lxcpath?: string): string[]
      • List the names of all defined (configured but not necessarily running) containers. A container is defined if its configuration file exists.

        Parameters

        • Optionallxcpath: string

          {string | undefined} Container directory to search. Defaults to lxc.lxcpath.

        Returns string[]

        Array of container name strings.