IDockerHost Interface

Provides access to the Docker host on the current agent.

Inheritance Hierarchy

Syntax

public interface IDockerHost

Properties

Name Description
UseWsl

Gets or sets a value indicating whether to force WSL as the client type.

Methods

Name Description
DockerAsync(string arguments, System.Threading.CancellationToken cancellationToken)
DockerLoginAsync(string registry, string userName, string password, System.Threading.CancellationToken cancellationToken)
DockerLogoutAsync(System.Threading.CancellationToken cancellationToken)
ExecuteInContainerAsync(ContainerStartInfo containerStartInfo, System.Threading.CancellationToken cancellationToken)
ResolveContainerPath(string relativePath)
TryResolveContainerPath(string relativePath, System.String& resolvedPath)

Remarks

This is a preview for SDK2.4; use with caution