title: Ubuntu and updating Docker
body: <p>I am trying to run the latest stable version of docker and docker-compose.</p>
  
  <p>I am following the instructions on <a href="https://docs.docker.com/engine/installation/linux/ubuntulinux/" rel="noreferrer">https://docs.docker.com/engine/installation/linux/ubuntulinux/</a></p>
  
  <p>Apparently the current version of docker-compose is 1.7. </p>
  
  <p>Yet, after running through the documentation, installing docker-engine, I then get:</p>
  
  <pre><code>$ docker-compose --version
  docker-compose version: 1.4.0
  </code></pre>
  
  <p>And</p>
  
  <pre><code>$ docker --version
  Docker version 1.11.1, build 5604cbe
  </code></pre>
  
  <p>When I try to update it, I get the following:</p>
  
  <pre><code>$ sudo apt-get upgrade docker-engine
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... docker-engine is already the newest version.
  Done
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <p>This just keeps getting stranger. After trying all of the advice below, I now get this:</p>
  
  <pre><code>$ docker-compose -v
  The program 'docker-compose' is currently not installed. You can install it by typing:
  sudo apt-get install docker-compose
  anton@Charles:~$ sudo apt-get install docker-compose
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  docker-compose is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  </code></pre>
  
  <p>How then can I update docker?</p>