DockerAliases.

DockerRunWithoutResult(ICakeContext, string, string, string[]) Method

Summary

Creates a new container using default settings. and doesn't return the output like Cake.Docker.DockerAliases.DockerRun(Cake.Core.ICakeContext,System.String,System.String,System.String[]) does. This way one can capture stdout.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Containing Type
DockerAliases

Syntax

public static void DockerRunWithoutResult(this ICakeContext context, string image, string command, params string[] args)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
image string The image.
command string The command.
args string[] The arguments.

Return Value

Type Description
void