<p>We are running an AKS cluster which is not having docker installed. We are running an Azure DevOps self hosted agent as a Pod inside our AKS. But the blocker is we need that Pod to be able to build docker images as part of our CI/CD build. Is there any way to use docker inside pod without having the need to have docker on the k8s node on which that pod is scheduled? Please help…..</p>

Qamber Ali
<p>There are a lot of OCI-compliant images builders, such as:</p>
<ul>
<li>kaniko ( <a href="https://github.com/GoogleContainerTools/kaniko" rel="nofollow noreferrer">https://github.com/GoogleContainerTools/kaniko</a> )</li>
<li>podman ( <a href="https://github.com/containers/podman" rel="nofollow noreferrer">https://github.com/containers/podman</a> )</li>
<li>buildah ( <a href="https://github.com/containers/buildah" rel="nofollow noreferrer">https://github.com/containers/buildah</a> )</li>
<li>img from genuinetools ( <a href="https://github.com/genuinetools/img" rel="nofollow noreferrer">https://github.com/genuinetools/img</a> )</li>
<li>buildkit ( <a href="https://github.com/moby/buildkit" rel="nofollow noreferrer">https://github.com/moby/buildkit</a> )</li>
<li>umoci ( <a href="https://github.com/opencontainers/umoci" rel="nofollow noreferrer">https://github.com/opencontainers/umoci</a> )</li>
</ul>
<p>Starting from scratch, you could checkout samples from the Tekton Hub. Even if you do not mean to run Tekton: you could re-use some of their sample Tasks building your own containers.</p>
<p>For Docker-In-Docker (DIND) builds, podman may not be the best pick (meant as a drop-in replacement for Docker runtime on end-user workstations). Sticking to RedHat ecosystem: buildah would be recommended. With portability in mind (arm/arm64 builds on RPI), I would usually go with Kaniko.</p>
