upgrading.rst 887 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. _upgrading:
  2. Upgrading
  3. ============
  4. We assume you are upgrading from within the operating system which runs your docker daemon.
  5. Get the latest docker binary:
  6. ::
  7. wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
  8. Unpack it to your current dir
  9. ::
  10. tar -xf docker-master.tgz
  11. Stop your current daemon. How you stop your daemon depends on how you started it.
  12. - If you started the daemon manually (``sudo docker -d``), you can just kill the process: ``killall docker``
  13. - If the process was started using upstart (the ubuntu startup daemon), you may need to use that to stop it
  14. Start docker in daemon mode (-d) and disconnect (&) starting ./docker will start the version in your current dir rather
  15. than the one in your PATH.
  16. Now start the daemon
  17. ::
  18. sudo ./docker -d &
  19. Alternatively you can replace the docker binary in ``/usr/local/bin``