ContainerCleanupResult Class
What a cleanup removed, and what it could not remove.
public sealed class ContainerCleanupResultProperties
| Name | Description |
|---|---|
| Errors | Gets the failures met while removing the resources. A cleanup does not stop on the first failure, so a resource that cannot be removed does not keep the others alive. |
| RemovedContainers | Gets the ids of the removed containers. |
| RemovedCount | Gets the total number of removed resources. |
| RemovedImages | Gets the ids of the removed images: the images built from a Dockerfile. |
| RemovedNetworks | Gets the names of the removed networks. |
| RemovedVolumes | Gets the names of the removed volumes. |
Gets the failures met while removing the resources. A cleanup does not stop on the first failure, so a resource that cannot be removed does not keep the others alive.
public IReadOnlyList<Exception> Errors { get; }Property value
RemovedContainers
ContainerCleanupResult.csGets the ids of the removed containers.
public IReadOnlyList<string> RemovedContainers { get; }Property value
RemovedCount
ContainerCleanupResult.csRemovedImages
ContainerCleanupResult.csGets the ids of the removed images: the images built from a Dockerfile.
public IReadOnlyList<string> RemovedImages { get; }Property value
RemovedNetworks
ContainerCleanupResult.csGets the names of the removed networks.
public IReadOnlyList<string> RemovedNetworks { get; }Property value
RemovedVolumes
ContainerCleanupResult.csGets the names of the removed volumes.
public IReadOnlyList<string> RemovedVolumes { get; }