How to find cmd and entrypoint in any build image

how can I find that the image is build with cmd or entrypoint
how can I identify it in any image build by any one else me

find my self by using docker inspect command I will find my answer