binaries.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. Right now, the officially supported distributions are:
  11. - :ref:`ubuntu_precise`
  12. - :ref:`ubuntu_raring`
  13. But we know people have had success running it under
  14. - Debian
  15. - Suse
  16. - :ref:`arch_linux`
  17. Check Your Kernel
  18. -----------------
  19. Your host's Linux kernel must meet the Docker :ref:`kernel`
  20. Get the docker binary:
  21. ----------------------
  22. .. code-block:: bash
  23. wget --output-document=docker https://get.docker.io/builds/Linux/x86_64/docker-latest
  24. chmod +x docker
  25. Run the docker daemon
  26. ---------------------
  27. .. code-block:: bash
  28. # start the docker in daemon mode from the directory you unpacked
  29. sudo ./docker -d &
  30. Run your first container!
  31. -------------------------
  32. .. code-block:: bash
  33. # check your docker version
  34. sudo ./docker version
  35. # run a container and open an interactive shell in the container
  36. sudo ./docker run -i -t ubuntu /bin/bash
  37. Continue with the :ref:`hello_world` example.