title: Unable to Run Docker Image Build Command
body: <p>I am learning the docker , but don't know where i am going wrong.</p>
  
  <p>Running the following command for the creating the Image from the Dockerfile:</p>
  
  <p>Command: I am inside the the terminal where project is located and running below command:</p>
  
  <pre><code>docker build -f Dockerfile -t spring-boot-docker-ex .
  </code></pre>
  
  <p>Error Message:</p>
  
  <pre><code>time="2020-02-02T11:23:46+05:30" level=error msg="failed to dial gRPC: unable to upgrade to h2c, received 500"
  error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/build?buildargs=%7B%7D&amp;cachefrom=%5B%5D&amp;cgroupparent=&amp;cpuperiod=0&amp;cpuquota=0&amp;cpusetcpus=&amp;cpuse
  tmems=&amp;cpushares=0&amp;dockerfile=Dockerfile&amp;labels=%7B%7D&amp;memory=0&amp;memswap=0&amp;networkmode=default&amp;rm=1&amp;session=rveuxbqxdbzktl94h1jxp2s26&amp;shmsize=0&amp;t=docker_test&amp;target=&amp;
  ulimits=null&amp;version=1: context canceled
  </code></pre>
  
  <p>DockerFile:</p>
  
  <pre><code>FROM openjdk:latest
  ADD target/dockerlearn-0.0.1-SNAPSHOT.jar dockerlearn.jar
  ENTRYPOINT ["java","-jar","dockerlearn.jar"]
  EXPOSE 8080
  </code></pre>