REPOSITORY <none> TAG <none>?

Hi,
I am new here trying to learn docker, I started this tutorial

https://docs.docker.com/engine/examples/nodejs_web_app/

Building your image

$ docker build -t mlotfi/centos-node-hello .

mlotfi is my username in https://hub.docker.com/

when I did
docker images I got

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
<none>              <none>              sha256:189cb        27 seconds ago      485.1 MB
centos              centos6             sha256:d0a31        12 days ago         228.9 MB

instead of

REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
mlotfi/centos-node-hello   latest              sha256:189cb        27 seconds ago      485.1 MB
centos              centos6             sha256:d0a31        12 days ago         228.9 MB

Thanks, your help is appreciated.

Did the build succeed? If not, it won’t spit out a tagged image.

The <none> images you see are from intermediate layers in the build. Each step in the build is actually a container that runs its relevant command / step and then does docker commit to create a new image.