How to create a pod with multiple images ? it should be single container pod wit . . .

Nikhil Kumar Agrawal:
how to create a pod with multiple images ?
it should be single container pod with multiple image.

vishwanath:
Yes
Can you use below yaml for multiple images

containers:
- name: nginx-container
image: nginx
- name: debian-container
image: debian

Nikhil Kumar Agrawal:
This is multiple containers.

Harindha Fernando:
Having single container with multiple images should be a requirement for Docker or any other container platform, in K8’s smallest object is a Pod, so I guess requirement shall be one Pod with multiple containers.

vishwanath:
Soory I misread the question . I agree with Fernando

OE:
It makes no sense for a container to have multiple images. It is like saying your Linux installation should be made up of multiple distributions, all installed at the same time on the same partition

Amandeep Singh:
I wonder why this question is repeatedly popping up. Like I said before, a friend who recently cleared CKA faced a similar question and was asking me. Something tricky in the wording of the question, I guess.

ns680:
I also got the same question. How can we have multiple images in a single container?