Docker build command issue

I make images successfully, but sometimes i don’t find the built images name in the "docker images " command.

Hello, @manjeetsorout28
Can you tell me what exact command you used to build the image? If you will try only docker build . without no tag. It will create <none> image name with <none> tag. Recently we discussed with @Devops.

I used following command:
sudo docker build -t image_name .

And command was successful but there was no of this name when i ran docker images command.