Does Kubernetes have to build the application into a mirror first to deploy the application?

  docker, question

Novice orz
Does Kubernetes have to build the application into a mirror first to deploy the application?
Can you select a mirror on Kubernetes and then run a specific program on this mirror?
Or is it only necessary to build the application into a mirror image before deployment, then how to use docker to build the application into a mirror image?

Yes
Build a mirror through Dockerfile.