This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Docker.
Summary
Creates a new container given settings and doesn't return the output like
Cake.Docker.DockerAliases.DockerRun(Cake.Core.ICakeContext,Cake.Docker.DockerContainerRunSettings,System.String,System.String,System.String[]) does.
This way one can capture stdout.
Syntax
public static void DockerRunWithoutResult(this ICakeContext context, DockerContainerRunSettings settings, string image, string command, params string[] args)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| settings |
DockerContainerRunSettings |
The settings. |
| image |
string |
The image. |
| command |
string |
The command. |
| args |
string[] |
The arguments. |
Return Value