<p>On Azure AKS I have deployed three node cluster, then I used <code>.yaml</code> file in order to deploy application. I have prepared Kubernetes object <code>DeamonSet</code>. It created three PODs, on each POD it deployed container with security application installed. On AKS node I have CRI container runtime instead of Docker runtime. My goal is to prepare app container image. My question is how to prepare container image using CRI runtime? I check Kubernetes documentation --&gt;  <a href="https://kubernetes.io/docs/reference/tools/map-crictl-dockercli/" rel="nofollow noreferrer">Docker - CRI commands mapping</a>, and there is no commands for image creation, in case of Docker we have <code>docker commit</code> command, we can use it for image preparation.</p>

tester81
<p>The CRI is the <a href="https://kubernetes.io/docs/concepts/architecture/cri/" rel="nofollow noreferrer">Container Runtime Interface</a>. The purpose is the have a standard protocol for the communication between the kubelet and Container Runtime.</p>
<p>The <a href="https://kubernetes.io/docs/setup/production-environment/container-runtimes/" rel="nofollow noreferrer">container runtime</a> can be docker, CRI-O or containerd. For <a href="https://learn.microsoft.com/en-gb/azure/aks/cluster-configuration" rel="nofollow noreferrer">AKS the default runtime since 1.19 is containerd</a>. All these runtimes can run <a href="https://github.com/opencontainers/image-spec" rel="nofollow noreferrer">OCI images</a> or also falsely (and widely) known as docker image or container image.</p>
<p>So if you create an OCI conform container image with docker your can run it on all container runtimes and also with kubernetes.</p>
