How can i use image in my computer for making pod?

yoo:
How can i use image in my computer for making pod?


1.PNG
4.PNG
3.PNG

Tej_Singh_Rana:
Hello, @yoo
Can you please describe the pod?

yoo:
sure, thank you

Tej_Singh_Rana:

$ kubectl describe pod <pod-name>

and you setup local private registry successfully?

yoo:
i haven’t heard about it

Tej_Singh_Rana:
You added in the prefix localhost:5000/ubuntu-sleeper?

yoo:
In pod.yaml?

Tej_Singh_Rana:
Yeah,

yoo:
Yes i did!

Tej_Singh_Rana:
https://docs.docker.com/registry/deploying/

yoo:
still same issue

runlevl4:
The easy way would be to setup a free Docker account and just push it to the hub. Or use kind where it’s easy to load images without the hassle of a local registry.

yoo:
i just command
docker build -t localhost:5000/ubuntu-sleeper .

is that right?

yoo:
(I used to use hub, however this time i’m practicing local image. Thanks)

runlevl4:
Never mind then. You’ll need to point to a local registry.

yoo:
you mean
make rigistry first -> push image -> pull image in kubernetes?