Creates a DockerShim wrapper and executes the application logic within that wrapper.
public static int Main(DockerShimSettings settings, Action<DockerShimContext> action)
parameter | description |
---|---|
settings | The settings to use for the DockerShim wrapper. |
action | The application logic to execute. |
Creates a DockerShim wrapper and executes the application logic within that wrapper.
public static int Main(DockerShimSettings settings, Func<DockerShimContext, int> action)
parameter | description |
---|---|
settings | The settings to use for the DockerShim wrapper. |
action | The application logic to execute. |
Creates a DockerShim wrapper and executes the application logic within that wrapper.
public static int Main(DockerShimSettings settings, Func<DockerShimContext, Task<int>> action)
parameter | description |
---|---|
settings | The settings to use for the DockerShim wrapper. |
action | The application logic to execute. |
Creates a DockerShim wrapper and executes the application logic within that wrapper.
public static int Main(DockerShimSettings settings, Func<DockerShimContext, Task> action)
parameter | description |
---|---|
settings | The settings to use for the DockerShim wrapper. |
action | The application logic to execute. |