title: How to connect to the agent: IPC connect call
body: <p>I'm using Ubuntu <code>(VERSION="20.04 LTS (Focal Fossa)</code> on Windows 10. Itried to install Docker.
  I'm following the Docs from docs.docker.com:
  I run the two commands: </p>
  
  <pre><code>$ curl -fsSL https://get.docker.com -o get-docker.sh
  $ sudo sh get-docker.sh
  </code></pre>
  
  <p>When I run the second command it return an error:</p>
  
  <pre><code>Warning: apt-key output should not be parsed (stdout is not a terminal)
  gpg: can't connect to the agent: IPC connect call failed
  </code></pre>
  
  <p>I looked in internet I found that some links trying to resolve the issue but in vein.
  <a href="https://stackoverflow.com/questions/46673717/gpg-cant-connect-to-the-agent-ipc-connect-call-failed">gpg: can&#39;t connect to the agent: IPC connect call failed</a>
  <a href="https://michaelheap.com/gpg-cant-connect-to-the-agent-ipc-connect-call-failed/" rel="nofollow noreferrer">https://michaelheap.com/gpg-cant-connect-to-the-agent-ipc-connect-call-failed/</a></p>
  
  <p>Someone have a suggestion please ?
  Thanks</p>