tester81
tester81

Reputation: 605

AKS cluster - create container image using CRI runtime

On Azure AKS I have deployed three node cluster, then I used .yaml file in order to deploy application. I have prepared Kubernetes object DeamonSet. 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 --> Docker - CRI commands mapping, and there is no commands for image creation, in case of Docker we have docker commit command, we can use it for image preparation.

Upvotes: 0

Views: 1188

Answers (1)

Philip Welz
Philip Welz

Reputation: 2807

The CRI is the Container Runtime Interface. The purpose is the have a standard protocol for the communication between the kubelet and Container Runtime.

The container runtime can be docker, CRI-O or containerd. For AKS the default runtime since 1.19 is containerd. All these runtimes can run OCI images or also falsely (and widely) known as docker image or container image.

So if you create an OCI conform container image with docker your can run it on all container runtimes and also with kubernetes.

Upvotes: 2

Related Questions