title: Docker. npm install -> Error: getaddrinfo ENOTFOUND
body: <p>Why I can not receive the packages node.js in Docker. I get the following message:</p>
  
  <pre><code>Step 10 : RUN npm install
   ---&gt; Running in 20f3e58dea20
  npm info it worked if it ends with ok
  npm info using npm@2.14.7
  npm info using node@v4.2.3
  npm http request GET https://registry.npmjs.org/amqp
  npm info attempt registry request try #2 at 3:40:26 PM
  npm http request GET https://registry.npmjs.org/mongodb
  npm info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
  npm info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
  npm info retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
  </code></pre>