upgrading.rst 969 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .. _upgrading:
  2. Upgrading
  3. ============
  4. These instructions are for upgrading your Docker binary for when you had a custom (non package manager) installation.
  5. If you istalled docker using apt-get, use that to upgrade.
  6. Get the latest docker binary:
  7. ::
  8. wget http://get.docker.io/builds/$(uname -s)/$(uname -m)/docker-master.tgz
  9. Unpack it to your current dir
  10. ::
  11. tar -xf docker-master.tgz
  12. Stop your current daemon. How you stop your daemon depends on how you started it.
  13. - If you started the daemon manually (``sudo docker -d``), you can just kill the process: ``killall docker``
  14. - If the process was started using upstart (the ubuntu startup daemon), you may need to use that to stop it
  15. Start docker in daemon mode (-d) and disconnect (&) starting ./docker will start the version in your current dir rather
  16. than the one in your PATH.
  17. Now start the daemon
  18. ::
  19. sudo ./docker -d &
  20. Alternatively you can replace the docker binary in ``/usr/local/bin``