title: Unable to connect to server: Host name may not be null
body: <p>I am taking the below wso2 course.</p>
  <p><a href="https://lms.wso2.com/courses/video-live-training-wso2-api-manager-developer-fundamentals-english" rel="nofollow noreferrer">Course Link</a></p>
  <p><strong>This is the video:</strong></p>
  <blockquote>
  <p>In Cloud Native API Management with WSO2 API Manager - an Overview
  Lab 4 - Using a microgateway (10min)</p>
  </blockquote>
  <p>As I used this command, the docker image is not created in the local properly.</p>
  <pre><code>micro-gw build Petstore --deployment-config E:\wso2-CertificatonPreparation\micorgateway-projects\Petstore\deployment.toml
  </code></pre>
  <p>I am getting the below error. Please help me to resolve this issue.</p>
  <p><code>Generating docker artifacts...</code></p>
  <p><code>error [docker plugin]: module [wso2/Petstore:3.1.0] unable to connect to server:Host name may not be null</code></p>
  <p>And also,</p>
  <p>What should I configure in <strong>target of deployment.toml</strong></p>
  <p>source =<code>E:/wso2-CertificatonPreparation/wso2-softwares/wso2am-micro-gw-toolkit-windows-3.1.0/resources/conf/micro-gw.conf</code></p>
  <p><strong>target = <code>/home/ballerina/conf/micro-gw.conf</code></strong></p>
  <p>I am using version 3.1.0</p>
  <p>This is the deployment.toml</p>
  <pre><code>[docker]
      [docker.dockerConfig]
          enable = true
          name = &quot; petstore &quot;
          registry = ' docker.wso2.com '
          tag = ' v1 '
          #buildImage = ''
          #dockerHost = ''
          #dockerCertPath = ''
          baseImage = 'wso2/wso2micro-gw:3.0.2'
          #enableDebug = ''
          #debugPort = ''
          #push = ''
      [docker.dockerCopyFiles]
          enable = true
          [[docker.dockerCopyFiles.files]]
          source ='E:/wso2-CertificatonPreparation/wso2-softwares/wso2am-micro-gw-toolkit-windows-3.1.0/resources/conf/micro-gw.conf'
          target = '/home/ballerina/conf/micro-gw.conf'
          isBallerinaConf = true
  </code></pre>