VagrantDockerRunner.

Exec(string, string) Method

Summary

Can be used to run one-off commands against a Docker container that is currently running
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Commands
Containing Type
VagrantDockerRunner

Syntax

public void Exec(string name, string command)

Remarks

If the container is not running, an error will be returned.

Parameters

Name Type Description
name string Name of the container to run against
command string Command to execute. This will NOT be quoted.

Return Value

Type Description
void