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.Vagrant.
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 |