index.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <!DOCTYPE html>
  2. <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
  3. <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
  4. <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
  5. <!--[if gt IE 8]><!-->
  6. <html class="no-js" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
  7. <head>
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <title>Docker - the Linux container runtime</title>
  11. <meta name="description" content="Docker encapsulates heterogeneous payloads in standard containers">
  12. <meta name="viewport" content="width=device-width">
  13. <!-- twitter bootstrap -->
  14. <link rel="stylesheet" href="../_static/css/bootstrap.min.css">
  15. <link rel="stylesheet" href="../_static/css/bootstrap-responsive.min.css">
  16. <!-- main style file -->
  17. <link rel="stylesheet" href="../_static/css/main.css">
  18. <!-- vendor scripts -->
  19. <script src="../_static/js/vendor/jquery-1.9.1.min.js" type="text/javascript" ></script>
  20. <script src="../_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js" type="text/javascript" ></script>
  21. </head>
  22. <body>
  23. <div class="navbar navbar-fixed-top">
  24. <div class="navbar-dotcloud">
  25. <div class="container" style="text-align: center;">
  26. <div style="float: right" class="pull-right">
  27. <ul class="nav">
  28. <li><a href="../">Introduction</a></li>
  29. <li class="active"><a href="./">Getting started</a></li>
  30. <li class=""><a href="http://docs.docker.io/en/latest/concepts/containers/">Documentation</a></li>
  31. </ul>
  32. <div class="social links" style="float: right; margin-top: 14px; margin-left: 12px">
  33. <a class="twitter" href="http://twitter.com/getdocker">Twitter</a>
  34. <a class="github" href="https://github.com/dotcloud/docker/">GitHub</a>
  35. </div>
  36. </div>
  37. <div style="margin-left: -12px; float: left;">
  38. <a href="../index.html"><img style="margin-top: 12px; height: 38px" src="../_static/img/docker-letters-logo.gif"></a>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. <div class="container">
  44. <div class="row">
  45. <div class="span12 titlebar"><h1 class="pageheader">GETTING STARTED</h1>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="container">
  50. <div class="alert alert-info">
  51. <strong>Docker is still under heavy development.</strong> It should not yet be used in production. Check <a href="http://github.com/dotcloud/docker">the repo</a> for recent progress.
  52. </div>
  53. <div class="row">
  54. <div class="span6">
  55. <section class="contentblock">
  56. <h2>
  57. <a name="installing-on-ubuntu-1204-and-1210" class="anchor" href="#installing-on-ubuntu-1204-and-1210"><span class="mini-icon mini-icon-link"></span>
  58. </a>Installing on Ubuntu</h2>
  59. <p><strong>Requirements</strong></p>
  60. <ul>
  61. <li>Ubuntu 12.04 (LTS) (64-bit)</li>
  62. <li> or Ubuntu 12.10 (quantal) (64-bit)</li>
  63. </ul>
  64. <ol>
  65. <li>
  66. <p><strong>Install dependencies</strong></p>
  67. The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
  68. <pre>sudo apt-get install linux-image-extra-`uname -r`</pre>
  69. </li>
  70. <li>
  71. <p><strong>Install Docker</strong></p>
  72. <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p>
  73. <p>You may see some warnings that the GPG keys cannot be verified.</p>
  74. <div class="highlight">
  75. <pre>sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"</pre>
  76. <pre>sudo apt-get update</pre>
  77. <pre>sudo apt-get install lxc-docker</pre>
  78. </div>
  79. </li>
  80. <li>
  81. <p><strong>Run!</strong></p>
  82. <div class="highlight">
  83. <pre>docker run -i -t ubuntu /bin/bash</pre>
  84. </div>
  85. </li>
  86. Continue with the <a href="http://docs.docker.io/en/latest/examples/hello_world/">Hello world</a> example.
  87. </ol>
  88. </section>
  89. <section class="contentblock">
  90. <h2>Contributing to Docker</h2>
  91. <p>Want to hack on Docker? Awesome! We have some <a href="http://docs.docker.io/en/latest/contributing/contributing/">instructions to get you started</a>. They are probably not perfect, please let us know if anything feels wrong or incomplete.</p>
  92. </section>
  93. </div>
  94. <div class="span6">
  95. <section class="contentblock">
  96. <h2>Quick install on other operating systems</h2>
  97. <p><strong>For other operating systems we recommend and provide a streamlined install with virtualbox,
  98. vagrant and an Ubuntu virtual machine.</strong></p>
  99. <ul>
  100. <li><a href="http://docs.docker.io/en/latest/installation/vagrant/">Mac OS X and other linuxes</a></li>
  101. <li><a href="http://docs.docker.io/en/latest/installation/windows/">Windows</a></li>
  102. </ul>
  103. </section>
  104. <section class="contentblock">
  105. <h2>More resources</h2>
  106. <ul>
  107. <li><a href="irc://chat.freenode.net#docker">IRC: docker on freenode</a></li>
  108. <li><a href="http://www.github.com/dotcloud/docker">Github</a></li>
  109. <li><a href="http://stackoverflow.com/tags/docker/">Ask questions on Stackoverflow</a></li>
  110. <li><a href="http://twitter.com/getdocker/">Join the conversation on Twitter</a></li>
  111. </ul>
  112. </section>
  113. <section class="contentblock">
  114. <div id="wufoo-z7x3p3">
  115. Fill out my <a href="http://dotclouddocker.wufoo.com/forms/z7x3p3">online form</a>.
  116. </div>
  117. <script type="text/javascript">var z7x3p3;(function(d, t) {
  118. var s = d.createElement(t), options = {
  119. 'userName':'dotclouddocker',
  120. 'formHash':'z7x3p3',
  121. 'autoResize':true,
  122. 'height':'577',
  123. 'async':true,
  124. 'header':'show'};
  125. s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
  126. s.onload = s.onreadystatechange = function() {
  127. var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
  128. try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
  129. var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
  130. })(document, 'script');</script>
  131. </section>
  132. </div>
  133. </div>
  134. </div>
  135. <div class="container">
  136. <footer id="footer" class="footer">
  137. <div class="row">
  138. <div class="span12 social">
  139. Docker is a project by <a href="http://www.dotcloud.com">dotCloud</a>
  140. </div>
  141. </div>
  142. <div class="row">
  143. <div class="emptyspace" style="height: 40px">
  144. </div>
  145. </div>
  146. </footer>
  147. </div>
  148. <!-- bootstrap javascipts -->
  149. <script src="../_static/js/vendor/bootstrap.min.js" type="text/javascript"></script>
  150. <!-- Google analytics -->
  151. <script type="text/javascript">
  152. var _gaq = _gaq || [];
  153. _gaq.push(['_setAccount', 'UA-6096819-11']);
  154. _gaq.push(['_setDomainName', 'docker.io']);
  155. _gaq.push(['_setAllowLinker', true]);
  156. _gaq.push(['_trackPageview']);
  157. (function() {
  158. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  159. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  160. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  161. })();
  162. </script>
  163. </body>
  164. </html>