Docker image to run and build Docker images in Azure Pipelines container jobs. The image contains Docker CLI and Docker Compose to access Docker engine on the agent.
This image can be used to run and build Docker images in Azure Pipelines container jobs.
To use the image in an Azure Pipelines Container Job, add one of the following example tasks and use it with the container
property.
The following example shows the container used for a deployment step which shows Docker CLI version:
- stage: deploy
jobs:
- deployment: runDotNet
container: swissgrc/azure-pipelines-dockercli:latest
environment: smarthotel-dev
strategy:
runOnce:
deploy:
steps:
- bash: |
docker --version
Tag | Description | Base Image | Docker CLI | Docker Compose | BuildX | Size |
---|---|---|---|---|---|---|
latest | Latest stable release (from main branch) |
debian:12.7-slim | 27.3.1 | 2.29.7 | 0.17.1 | |
unstable | Latest unstable release (from develop branch) |
debian:12.7-slim | 27.3.1 | 2.29.7 | 0.17.1 | |
24.0.0 | Docker CLI 24.0.0 | debian:11.7-slim | 24.0.0 | 2.18.1 | 0.10.4 | |
24.0.1 | Docker CLI 24.0.1 | debian:11.7-slim | 24.0.1 | 2.18.1 | 0.10.4 | |
24.0.2 | Docker CLI 24.0.2 | debian:11.7-slim | 24.0.2 | 2.18.1 | 0.10.5 | |
24.0.3 | Docker CLI 24.0.3 | debian:12.0-slim | 24.0.3 | 2.19.1 | 0.11.1 | |
24.0.4 | Docker CLI 24.0.4 | debian:12.0-slim | 24.0.4 | 2.19.1 | 0.11.1 | |
24.0.5 | Docker CLI 24.0.5 | debian:12.0-slim | 24.0.5 | 2.20.2 | 0.11.2 | |
24.0.6 | Docker CLI 24.0.6 | debian:12.1-slim | 24.0.6 | 2.21.0 | 0.11.2 | |
24.0.7 | Docker CLI 24.0.7 | debian:12.2-slim | 24.0.7 | 2.21.0 | 0.11.2 | |
25.0.0 | Docker CLI 25.0.0 | debian:12.4-slim | 25.0.0 | 2.24.1 | 0.12.1 | |
25.0.3 | Docker CLI 25.0.3 | debian:12.4-slim | 25.0.3 | 2.24.2 | 0.12.1 | |
25.0.4 | Docker CLI 25.0.4 | debian:12.5-slim | 25.0.4 | 2.24.7 | 0.13.0 | |
25.0.5 | Docker CLI 25.0.5 | debian:12.5-slim | 25.0.5 | 2.24.7 | 0.13.1 | |
26.0.0 | Docker CLI 26.0.0 | debian:12.5-slim | 26.0.0 | 2.25.0 | 0.13.1 | |
26.0.1 | Docker CLI 26.0.1 | debian:12.5-slim | 26.0.1 | 2.26.1 | 0.13.1 | |
26.0.2 | Docker CLI 26.0.2 | debian:12.5-slim | 26.0.2 | 2.26.1 | 0.14.0 | |
26.1.0 | Docker CLI 26.1.0 | debian:12.5-slim | 26.1.0 | 2.26.1 | 0.14.0 | |
26.1.1 | Docker CLI 26.1.1 | debian:12.5-slim | 26.1.1 | 2.27.0 | 0.14.0 | |
26.1.2 | Docker CLI 26.1.2 | debian:12.5-slim | 26.1.2 | 2.27.0 | 0.14.0 | |
26.1.3 | Docker CLI 26.1.3 | debian:12.5-slim | 26.1.3 | 2.27.0 | 0.14.0 | |
26.1.4 | Docker CLI 26.1.4 | debian:12.5-slim | 26.1.4 | 2.27.1 | 0.14.1 | |
27.0.1 | Docker CLI 27.0.1 | debian:12.5-slim | 27.0.1 | 2.28.1 | 0.15.1 | |
27.0.2 | Docker CLI 27.0.2 | debian:12.6-slim | 27.0.2 | 2.28.1 | 0.15.1 | |
27.1.1 | Docker CLI 27.1.1 | debian:12.6-slim | 27.1.1 | 2.29.1 | 0.16.1 | |
27.1.2 | Docker CLI 27.1.2 | debian:12.6-slim | 27.1.2 | 2.29.1 | 0.16.2 | |
27.2.0 | Docker CLI 27.2.0 | debian:12.6-slim | 27.2.0 | 2.29.2 | 0.16.2 | |
27.2.1 | Docker CLI 27.2.1 | debian:12.7-slim | 27.2.1 | 2.29.2 | 0.16.2 | |
27.3.0 | Docker CLI 27.3.0 | debian:12.7-slim | 27.3.0 | 2.29.6 | 0.17.1 | |
27.3.1 | Docker CLI 27.3.1 | debian:12.7-slim | 27.3.1 | 2.29.1 | 0.17.1 |