DockerAliases.

DockerComposePort(ICakeContext, DockerComposePortSettings, string, int) Method

Summary

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

Syntax

public static IEnumerable<string> DockerComposePort(this ICakeContext context, DockerComposePortSettings settings, string service, int port)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string>