title: How to install a package using apt-get in ubuntu container inside Docker
body: <p>I have installed docker on windows 10. After that, pull the <code>ubuntu</code> container. After running the container with this <code>docker run -t -i --privileged ubuntu bash</code> or <code>docker run -it ubuntu</code> command, I've get this <code>root@7f72926f3608:/#</code> in console.</p>
  
  <p>Then, try to install the <code>python</code> package using <code>apt-get</code> like <code>$sudo apt-get install python</code> or <code>apt-get install python</code>, but I've gotten the following error in console:</p>
  
  <pre><code>Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  E: Unable to locate package python
  </code></pre>
  
  <p>Hence, <em>the question is how can I install a package in ubuntu container inside docker?</em></p>