azuredockerkubernetesazure-devopsdaemonset

Compare docker images in Azure cluster


I recently switched from AWS to Azure and i'm having issues with getting the docker to run in my daemonset.

On AWS I was pulling an image of a Pod and doing docker diff to compare that image with the original one.

But on Azure now i cannot access the docker and can't seem to find a way to get the original image and the current image with changes of the pod.

How can i do something like docker diff or at least pickup the two images in Azure ?


Solution

  • What version of Kubernetes are you running in AKS? Kubernetes has deprecated Docker as a container runtime after v1.20 so you can't run DOCKER DIFF on a node anymore.

    Ref: https://kubernetes.io/blog/2020/12/02/dont-panic-kubernetes-and-docker/