title: Docker build command with --tag unable to tag images
body: <p>I have trying to build a Docker image using a Dockerfile available locally.</p>
  
  <pre><code>docker build -t newimage .
  </code></pre>
  
  <p>I have used this command multiple times earlier too, but somehow its not working currently and i am stuck finding the reason for it.</p>
  
  <p>I will be really helpful if someone can help me with a possible solution or a possible area to look for an issue.</p>
  
  <p>i already had a look over other posts that could have been related for example :
  <a href="https://stackoverflow.com/questions/37815524/docker-build-tag-repository-name">Docker build tag repository name</a></p>