title: boot2docker / docker "Error. image library/.:latest not found"
body: <p>I'm trying to create a VM with docker and boot2docker. I've made the following Dockerfile, which I'm trying to run through the command line</p>
  
  <pre><code>docker run Dockerfile
  </code></pre>
  
  <p>Immidiatly it says exactly this:</p>
  
  <pre><code>Unable to find image 'Dockerfile:latest' locally
  FATA[0000] Invalid repository name &lt;Dockerfile&gt;, only [a-z0-9_.] are allowed
  </code></pre>
  
  <h1>Dockerfile:</h1>
  
  <pre><code>FROM ubuntu:latest
  
  #Oracle Java7 install
  RUN apt-get install software-properties-common -y
  RUN apt-get update
  RUN add-apt-repository -y ppa:webupd8team/java
  RUN apt-get update
  RUN echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select                        true | /usr/bin/debconf-set-selections
  RUN apt-get install -y oracle-java7-installer
  
  #Jenkins install
  RUN wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo      apt-key add -
  RUN sudo echo "deb http://pkg.jenkins-ci.org/debian binary/" &gt;&gt;  /etc/apt/sources.list
  RUN apt-get update
  RUN apt-get install --force-yes -y jenkins
  RUN sudo service jenkins start
  
  #Zip support install
  RUN apt-get update
  RUN apt-get -y install zip
  
  #Unzip hang.zip
  RUN unzip -o /var/jenkins/hang.zip -d /var/lib/jenkins/
  RUN chown -R jenkins:jenkins /vaR/lib/jenkins
  RUN service jenkins restart
  EXEC tail -f /etc/passwd
  
  
  EXPOSE 8080
  </code></pre>
  
  <p>I am in the directory where the Dockerfile is, when trying to run this command.</p>
  
  <p><em>Ignore the zip part, as that's for later use</em></p>