title: Yum install won't work on a boot2docker host?
body: <p>I'm relatively new to Docker.
  I have launch a boot2docker host using docker-machine create -d.</p>
  
  <p>Managed to connect to it, and run few commands. All good.</p>
  
  <p>However, when trying to create a basic http server image, based on centos..
  "yum install" simply fails. No matter what is the package.</p>
  
  <p>This is my Docker file:</p>
  
  <pre><code>FROM centos
  MAINTAINER Amir
  
  #Install Apache
  RUN yum install httpd
  </code></pre>
  
  <p>When running:
      docker build .</p>
  
  <p>It's starting to build the image, and everything looks good.. but then fails with:</p>
  
  <blockquote>
    <p>Your transaction was saved, rerun it with:
     yum load-transaction /tmp/yum_save_tx.2015-09-18.15-10.q5ss8m.yumtx
    SECURITY WARNING: You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
    The command '/bin/sh -c yum install httpd' returned a non-zero code: 1</p>
  </blockquote>
  
  <p>Any idea what am I doing wrong?</p>
  
  <p>Thanks in advance.</p>