DockerAliases.

DockerImagePrune(ICakeContext, DockerImagePruneSettings) Method

Summary

Remove unused images given settings.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Containing Type
DockerAliases

Syntax

public static IEnumerable<string> DockerImagePrune(this ICakeContext context, DockerImagePruneSettings settings)

Remarks

Return value are the lines from stdout. This method will redirect stdout and it won't be available for capture.

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings DockerImagePruneSettings The settings.

Return Value

Type Description
IEnumerable<string> Output text.