Function: listContainers()
listContainers():
Promise
<ContainerInfo
[]>
Returns the list of containers across all container engines, in any state (running or not).
Returns
Promise
<ContainerInfo
[]>
A promise resolving to an array of containers information. This method returns a subset of the available information for containers. To get the complete description of a specific container, you can use the containerEngine.inspectContainer method.