DockerAliases.

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

Summary

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

Syntax

public static string DockerCreate(this ICakeContext context, DockerContainerCreateSettings settings, string image, string command, params string[] args)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
string container ID