Docker Installer task

Azure Pipelines

Use this task in a build or release pipeline to install a specific version of the Docker CLI on the agent machine.

Task Inputs

ParametersDescription
dockerVersion
Docker Version
(Required) Specify the version of Docker CLI to install.
Default value: 17.09.0-ce
releaseType
Release type
(Optional) Select the release type to install. 'Nightly' is not supported on Windows.
Default value: stable

This YAML example installs the Docker CLI on the agent machine:

- task: DockerInstaller@0
  displayName: Docker Installer
  inputs:
    dockerVersion: 17.09.0-ce
    releaseType: stable

Open source

This task is open source on GitHub. Feedback and contributions are welcome.