DockerAliases.

DockerPs(ICakeContext, DockerContainerPsSettings) Method

Summary

List containers given settings.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Containing Type
DockerAliases

Syntax

public static string DockerPs(this ICakeContext context, DockerContainerPsSettings 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 DockerContainerPsSettings The settings.

Return Value

Type Description
string Output text.