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.Docker.
Summary
Runs docker-compose port.
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> |
|