Closed krupakar-code closed 3 years ago
This problem is now resolved. AKS clusters 1.18.8+ use 'Containerd' as the container runtime. With Containerd, it's not possible to leverage the docker engine running on the host to build containers. The updated solution runs dind in a sidecar container within the devops agent pod and performs the container build.
Closing this issue. Refer to the comments above.
Once the cluster is migrated to 1.19 version which has containerd as the default runtime, the yaml deployment fails as it has volume mounts to /var/run/docker.sock(which will not be present in containerd runtime). Kindly help on the same on how to mount to /var/run/containerd/containerd.sock