index.html 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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 id="nav-introduction"><a href="../">Introduction</a></li>
  29. <li id="nav-gettingstarted" class="active"><a href="">Getting started</a></li>
  30. <li id="nav-documentation" class=""><a href="http://docs.docker.io/en/latest/">Documentation</a></li>
  31. <li id="nav-blog"><a href="http://blog.docker.io/">Blog</a></li>
  32. </ul>
  33. </div>
  34. <div style="margin-left: -12px; float: left;">
  35. <a href="../index.html"><img style="margin-top: 12px; height: 38px" src="../static/img/docker-letters-logo.gif"></a>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="container">
  41. <div class="row">
  42. <div class="span12 titlebar">
  43. <div class="pull-right" id="fork-us" style="margin-top: 16px; margin-right: 16px;">
  44. <a href="http://github.com/dotcloud/docker/"><img src="../static/img/fork-us.png"> Fork us on Github</a>
  45. </div>
  46. <h1 class="pageheader"> GETTING STARTED</h1>
  47. </div>
  48. </div>
  49. </div>
  50. <div class="container">
  51. <div class="alert alert-info" style="margin-bottom: 0;">
  52. <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.
  53. </div>
  54. <div class="row">
  55. <div class="span6">
  56. <section class="contentblock">
  57. <h2>
  58. <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>
  59. </a>Installing on Ubuntu</h2>
  60. <p><strong>Requirements</strong></p>
  61. <ul>
  62. <li>Ubuntu 12.04 (LTS) (64-bit)</li>
  63. <li> or Ubuntu 12.10 (quantal) (64-bit)</li>
  64. <li>The 3.8 Linux Kernel</li>
  65. </ul>
  66. <ol>
  67. <li>
  68. <p><strong>Install dependencies</strong></p>
  69. The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
  70. <pre>sudo apt-get install linux-image-extra-`uname -r`</pre>
  71. </li>
  72. <li>
  73. <p><strong>Install Docker</strong></p>
  74. <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p>
  75. <p>This may import a new GPG key (key 63561DC6: public key "Launchpad PPA for dotcloud team" imported).</p>
  76. <div class="highlight">
  77. <pre>sudo apt-get install software-properties-common</pre>
  78. <pre>sudo add-apt-repository ppa:dotcloud/lxc-docker</pre>
  79. <pre>sudo apt-get update</pre>
  80. <pre>sudo apt-get install lxc-docker</pre>
  81. </div>
  82. </li>
  83. <li>
  84. <p><strong>Run!</strong></p>
  85. <div class="highlight">
  86. <pre>docker run -i -t ubuntu /bin/bash</pre>
  87. </div>
  88. </li>
  89. Continue with the <a href="http://docs.docker.io/en/latest/examples/hello_world/">Hello world</a> example.<br>
  90. Or check <a href="http://docs.docker.io/en/latest/installation/ubuntulinux/">more detailed installation instructions</a>
  91. </ol>
  92. </section>
  93. <section class="contentblock">
  94. <h2>Contributing to Docker</h2>
  95. <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>
  96. </section>
  97. </div>
  98. <div class="span6">
  99. <section class="contentblock">
  100. <h2>Quick install on other operating systems</h2>
  101. <p><strong>For other operating systems we recommend and provide a streamlined install with virtualbox,
  102. vagrant and an Ubuntu virtual machine.</strong></p>
  103. <ul>
  104. <li><a href="http://docs.docker.io/en/latest/installation/vagrant/">Mac OS X and other linuxes</a></li>
  105. <li><a href="http://docs.docker.io/en/latest/installation/windows/">Windows</a></li>
  106. </ul>
  107. </section>
  108. <section class="contentblock">
  109. <h2>Questions? Want to get in touch?</h2>
  110. <p>There are several ways to get in touch:</p>
  111. <p><strong>Join the discussion on IRC.</strong> We can be found in the <a href="irc://chat.freenode.net#docker">#docker</a> channel on chat.freenode.net</p>
  112. <p><strong>Discussions</strong> happen on our google group: <a href="https://groups.google.com/d/forum/docker-club">docker-club at googlegroups.com</a></p>
  113. <p>All our <strong>development and decisions</strong> are made out in the open on Github <a href="http://www.github.com/dotcloud/docker">github.com/dotcloud/docker</a></p>
  114. <p><strong>Get help on using Docker</strong> by asking on <a href="http://stackoverflow.com/tags/docker/">Stackoverflow</a></p>
  115. <p>And of course, <strong>tweet</strong> your tweets to <a href="http://twitter.com/getdocker/">twitter.com/getdocker</a></p>
  116. </section>
  117. <section class="contentblock">
  118. <div id="wufoo-z7x3p3">
  119. Fill out my <a href="http://dotclouddocker.wufoo.com/forms/z7x3p3">online form</a>.
  120. </div>
  121. <script type="text/javascript">var z7x3p3;(function(d, t) {
  122. var s = d.createElement(t), options = {
  123. 'userName':'dotclouddocker',
  124. 'formHash':'z7x3p3',
  125. 'autoResize':true,
  126. 'height':'577',
  127. 'async':true,
  128. 'header':'show'};
  129. s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
  130. s.onload = s.onreadystatechange = function() {
  131. var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
  132. try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
  133. var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
  134. })(document, 'script');</script>
  135. </section>
  136. </div>
  137. </div>
  138. </div>
  139. <div class="container">
  140. <footer id="footer" class="footer">
  141. <div class="row">
  142. <div class="span12 social">
  143. <div class="tbox textright forceleftmargin social links pull-right">
  144. <a class="twitter" href="http://twitter.com/getdocker">Twitter</a>
  145. <a class="github" href="https://github.com/dotcloud/docker/">GitHub</a>
  146. </div>
  147. Docker is a project by <a href="http://www.dotcloud.com">dotCloud</a>
  148. </div>
  149. </div>
  150. <div class="row">
  151. <div class="emptyspace" style="height: 40px">
  152. </div>
  153. </div>
  154. </footer>
  155. </div>
  156. <!-- bootstrap javascipts -->
  157. <script src="../static/js/vendor/bootstrap.min.js" type="text/javascript"></script>
  158. <!-- Google analytics -->
  159. <script type="text/javascript">
  160. var _gaq = _gaq || [];
  161. _gaq.push(['_setAccount', 'UA-6096819-11']);
  162. _gaq.push(['_setDomainName', 'docker.io']);
  163. _gaq.push(['_setAllowLinker', true]);
  164. _gaq.push(['_trackPageview']);
  165. (function() {
  166. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  167. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  168. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  169. })();
  170. </script>
  171. </body>
  172. </html>