DockerShimRunner.Main method (1 of 4)

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.

See Also


DockerShimRunner.Main method (2 of 4)

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.

See Also


DockerShimRunner.Main method (3 of 4)

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.

See Also


DockerShimRunner.Main method (4 of 4)

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.

See Also