kubectl run image in to pod code example
Example 1: kubectl run pod
kubectl run <pod-name> --image=<image> --restart=Never
Example 2: how to login to docker inside kubernetes cluster
kubectl create secret docker-registry regcred --docker-server=<your-registry-server> --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>