DockerAliases.

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

Summary

Creates a new container using default settings.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Containing Type
DockerAliases

Syntax

public static string DockerCreate(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
string container ID