binaries.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. :title: Installation from Binaries
  2. :description: This instruction set is meant for hackers who want to try out Docker on a variety of environments.
  3. :keywords: binaries, installation, docker, documentation, linux
  4. .. _binaries:
  5. Binaries
  6. ========
  7. .. include:: install_header.inc
  8. **This instruction set is meant for hackers who want to try out Docker
  9. on a variety of environments.**
  10. Before following these directions, you should really check if a packaged version
  11. of Docker is already available for your distribution. We have packages for many
  12. distributions, and more keep showing up all the time!
  13. Check Your Kernel
  14. -----------------
  15. Your host's Linux kernel must meet the Docker :ref:`kernel`
  16. Check for User Space Tools
  17. --------------------------
  18. You must have a working installation of the `lxc <http://linuxcontainers.org>`_ utilities and library.
  19. Get the docker binary:
  20. ----------------------
  21. .. code-block:: bash
  22. wget https://get.docker.io/builds/Linux/x86_64/docker-latest -O docker
  23. chmod +x docker
  24. Run the docker daemon
  25. ---------------------
  26. .. code-block:: bash
  27. # start the docker in daemon mode from the directory you unpacked
  28. sudo ./docker -d &
  29. Run your first container!
  30. -------------------------
  31. .. code-block:: bash
  32. # check your docker version
  33. sudo ./docker version
  34. # run a container and open an interactive shell in the container
  35. sudo ./docker run -i -t ubuntu /bin/bash
  36. Continue with the :ref:`hello_world` example.