DockerAliases.

DockerComposePort(ICakeContext, string, int) Method

Summary

Runs docker-compose port with default settings.
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Containing Type
DockerAliases

Syntax

public static void DockerComposePort(this ICakeContext context, string service, int port)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
service string The service.
port int The private port of the container.

Return Value

Type Description
void