There are alternative ways to use Azure DevOps agents on AKS with Kaniko . Through this, you can replace Docker with a container build tool that can build images without needing a Docker daemon or special privileges for the build.
Kaniko is used to build test images and create an agent for deployment using a service account with permission.
The article explains how one can create a reusable CI job template for the kaniko job to be accessible from any pipeline using a bash script.
















