REPOSITORY <none> TAG <none>
<p>I am new here trying to learn docker, I started this tutorial </p>

<p><a href="https://docs.docker.com/engine/examples/nodejs_web_app/" rel="nofollow">https://docs.docker.com/engine/examples/nodejs_web_app/</a> </p>

<p>Building your image</p>

<p>$ docker build -t  mlotfi/centos-node-hello .</p>

<p><code>mlotfi</code> is my username in  <a href="https://hub.docker.com/" rel="nofollow">https://hub.docker.com/</a></p>

<p>when I did <code>docker images</code>, I got:</p>

<pre><code>REPOSITORY          TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
&lt;none&gt;              &lt;none&gt;              sha256:189cb        27 seconds ago      485.1 MB
centos              centos6             sha256:d0a31        12 days ago         228.9 MB
</code></pre>

<p>instead of: </p>

<pre><code>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
</code></pre>

<p>UPDATE:
at the end of the build I see :</p>

<pre><code>Complete!
---&gt; e053d8f57e5c
Removing intermediate container 060f921fd08c
Step 4 : COPY package.json /src/package.json
SECURITY WARNING: You are building a Docker image from Windows against a  non-Windows Docker host. All files and
directories added to build context will have '-rwxr-xr-x' permissions. It is  recommended to double check and r
eset permissions for sensitive files and directories.
lstat package.json: no such file or directory
</code></pre>

<p>But I already have package.json in the src directory.</p>