This should make previewing documentation easier.
Also updated the Makefile to now copy the theme dir into the _build/website/ dir. Make connect and Make push work.
| ... | ... |
@@ -46,23 +46,24 @@ clean: |
| 46 | 46 |
docs: |
| 47 | 47 |
-rm -rf $(BUILDDIR)/* |
| 48 | 48 |
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/html |
| 49 |
- cp sources/index.html $(BUILDDIR)/html/ |
|
| 50 |
- cp -r sources/gettingstarted $(BUILDDIR)/html/ |
|
| 51 |
- cp sources/dotcloud.yml $(BUILDDIR)/html/ |
|
| 52 |
- cp sources/CNAME $(BUILDDIR)/html/ |
|
| 53 |
- cp sources/.nojekyll $(BUILDDIR)/html/ |
|
| 54 |
- cp sources/nginx.conf $(BUILDDIR)/html/ |
|
| 55 | 49 |
@echo |
| 56 |
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." |
|
| 50 |
+ @echo "Build finished. The documentation pages are now in $(BUILDDIR)/html." |
|
| 51 |
+ |
|
| 52 |
+ |
|
| 53 |
+site: |
|
| 54 |
+ cp -r website $(BUILDDIR)/ |
|
| 55 |
+ cp -r theme/docker/static/ $(BUILDDIR)/website/ |
|
| 56 |
+ @echo |
|
| 57 |
+ @echo "The Website pages are in $(BUILDDIR)/site." |
|
| 57 | 58 |
|
| 58 | 59 |
connect: |
| 59 |
- @echo pushing changes to staging site |
|
| 60 |
- @cd _build/html/ ; \ |
|
| 61 |
- @dotcloud list ; \ |
|
| 60 |
+ @echo connecting dotcloud to www.docker.io website, make sure to use user 1 |
|
| 61 |
+ @cd _build/website/ ; \ |
|
| 62 |
+ dotcloud list ; \ |
|
| 62 | 63 |
dotcloud connect dockerwebsite |
| 63 | 64 |
|
| 64 | 65 |
push: |
| 65 |
- @cd _build/html/ ; \ |
|
| 66 |
+ @cd _build/website/ ; \ |
|
| 66 | 67 |
dotcloud push |
| 67 | 68 |
|
| 68 | 69 |
github-deploy: docs |
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 |
-=========================================== |
|
| 1 |
+======================================================== |
|
| 2 | 2 |
``build`` -- Build a container from Dockerfile via stdin |
| 3 |
-=========================================== |
|
| 3 |
+======================================================== |
|
| 4 | 4 |
|
| 5 | 5 |
:: |
| 6 | 6 |
|
| ... | ... |
@@ -5,124 +5,4 @@ |
| 5 | 5 |
|
| 6 | 6 |
:note: This version of the introduction is temporary, just to make sure we don't break the links from the website when the documentation is updated |
| 7 | 7 |
|
| 8 |
- |
|
| 9 |
-Introduction |
|
| 10 |
-============ |
|
| 11 |
- |
|
| 12 |
-Docker - The Linux container runtime |
|
| 13 |
- |
|
| 14 |
-Docker complements LXC with a high-level API which operates at the process level. It runs unix processes with strong guarantees of isolation and repeatability across servers. |
|
| 15 |
- |
|
| 16 |
-Docker is a great building block for automating distributed systems: large-scale web deployments, database clusters, continuous deployment systems, private PaaS, service-oriented architectures, etc. |
|
| 17 |
- |
|
| 18 |
- |
|
| 19 |
-- **Heterogeneous payloads** Any combination of binaries, libraries, configuration files, scripts, virtualenvs, jars, gems, tarballs, you name it. No more juggling between domain-specific tools. Docker can deploy and run them all. |
|
| 20 |
-- **Any server** Docker can run on any x64 machine with a modern linux kernel - whether it's a laptop, a bare metal server or a VM. This makes it perfect for multi-cloud deployments. |
|
| 21 |
-- **Isolation** docker isolates processes from each other and from the underlying host, using lightweight containers. |
|
| 22 |
-- **Repeatability** Because containers are isolated in their own filesystem, they behave the same regardless of where, when, and alongside what they run. |
|
| 23 |
- |
|
| 24 |
- |
|
| 25 |
- |
|
| 26 |
-What is a Standard Container? |
|
| 27 |
- |
|
| 28 |
-Docker defines a unit of software delivery called a Standard Container. The goal of a Standard Container is to encapsulate a software component and all its dependencies in |
|
| 29 |
-a format that is self-describing and portable, so that any compliant runtime can run it without extra dependency, regardless of the underlying machine and the contents of the container. |
|
| 30 |
- |
|
| 31 |
-The spec for Standard Containers is currently work in progress, but it is very straightforward. It mostly defines 1) an image format, 2) a set of standard operations, and 3) an execution environment. |
|
| 32 |
- |
|
| 33 |
-A great analogy for this is the shipping container. Just like Standard Containers are a fundamental unit of software delivery, shipping containers (http://bricks.argz.com/ins/7823-1/12) are a fundamental unit of physical delivery. |
|
| 34 |
- |
|
| 35 |
-Standard operations |
|
| 36 |
-~~~~~~~~~~~~~~~~~~~ |
|
| 37 |
- |
|
| 38 |
-Just like shipping containers, Standard Containers define a set of STANDARD OPERATIONS. Shipping containers can be lifted, stacked, locked, loaded, unloaded and labelled. Similarly, standard containers can be started, stopped, copied, snapshotted, downloaded, uploaded and tagged. |
|
| 39 |
- |
|
| 40 |
- |
|
| 41 |
-Content-agnostic |
|
| 42 |
-~~~~~~~~~~~~~~~~~~~ |
|
| 43 |
- |
|
| 44 |
-Just like shipping containers, Standard Containers are CONTENT-AGNOSTIC: all standard operations have the same effect regardless of the contents. A shipping container will be stacked in exactly the same way whether it contains Vietnamese powder coffee or spare Maserati parts. Similarly, Standard Containers are started or uploaded in the same way whether they contain a postgres database, a php application with its dependencies and application server, or Java build artifacts. |
|
| 45 |
- |
|
| 46 |
- |
|
| 47 |
-Infrastructure-agnostic |
|
| 48 |
-~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
| 49 |
- |
|
| 50 |
-Both types of containers are INFRASTRUCTURE-AGNOSTIC: they can be transported to thousands of facilities around the world, and manipulated by a wide variety of equipment. A shipping container can be packed in a factory in Ukraine, transported by truck to the nearest routing center, stacked onto a train, loaded into a German boat by an Australian-built crane, stored in a warehouse at a US facility, etc. Similarly, a standard container can be bundled on my laptop, uploaded to S3, downloaded, run and snapshotted by a build server at Equinix in Virginia, uploaded to 10 staging servers in a home-made Openstack cluster, then sent to 30 production instances across 3 EC2 regions. |
|
| 51 |
- |
|
| 52 |
- |
|
| 53 |
-Designed for automation |
|
| 54 |
-~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
| 55 |
- |
|
| 56 |
-Because they offer the same standard operations regardless of content and infrastructure, Standard Containers, just like their physical counterpart, are extremely well-suited for automation. In fact, you could say automation is their secret weapon. |
|
| 57 |
- |
|
| 58 |
-Many things that once required time-consuming and error-prone human effort can now be programmed. Before shipping containers, a bag of powder coffee was hauled, dragged, dropped, rolled and stacked by 10 different people in 10 different locations by the time it reached its destination. 1 out of 50 disappeared. 1 out of 20 was damaged. The process was slow, inefficient and cost a fortune - and was entirely different depending on the facility and the type of goods. |
|
| 59 |
- |
|
| 60 |
-Similarly, before Standard Containers, by the time a software component ran in production, it had been individually built, configured, bundled, documented, patched, vendored, templated, tweaked and instrumented by 10 different people on 10 different computers. Builds failed, libraries conflicted, mirrors crashed, post-it notes were lost, logs were misplaced, cluster updates were half-broken. The process was slow, inefficient and cost a fortune - and was entirely different depending on the language and infrastructure provider. |
|
| 61 |
- |
|
| 62 |
- |
|
| 63 |
-Industrial-grade delivery |
|
| 64 |
-~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
| 65 |
- |
|
| 66 |
-There are 17 million shipping containers in existence, packed with every physical good imaginable. Every single one of them can be loaded on the same boats, by the same cranes, in the same facilities, and sent anywhere in the World with incredible efficiency. It is embarrassing to think that a 30 ton shipment of coffee can safely travel half-way across the World in *less time* than it takes a software team to deliver its code from one datacenter to another sitting 10 miles away. |
|
| 67 |
- |
|
| 68 |
-With Standard Containers we can put an end to that embarrassment, by making INDUSTRIAL-GRADE DELIVERY of software a reality. |
|
| 69 |
- |
|
| 70 |
- |
|
| 71 |
-Standard Container Specification |
|
| 72 |
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
| 73 |
- |
|
| 74 |
-(TODO) |
|
| 75 |
- |
|
| 76 |
-Image format |
|
| 77 |
-~~~~~~~~~~~~ |
|
| 78 |
- |
|
| 79 |
-Standard operations |
|
| 80 |
-~~~~~~~~~~~~~~~~~~~ |
|
| 81 |
- |
|
| 82 |
-- Copy |
|
| 83 |
-- Run |
|
| 84 |
-- Stop |
|
| 85 |
-- Wait |
|
| 86 |
-- Commit |
|
| 87 |
-- Attach standard streams |
|
| 88 |
-- List filesystem changes |
|
| 89 |
-- ... |
|
| 90 |
- |
|
| 91 |
-Execution environment |
|
| 92 |
-~~~~~~~~~~~~~~~~~~~~~ |
|
| 93 |
- |
|
| 94 |
-Root filesystem |
|
| 95 |
-^^^^^^^^^^^^^^^ |
|
| 96 |
- |
|
| 97 |
-Environment variables |
|
| 98 |
-^^^^^^^^^^^^^^^^^^^^^ |
|
| 99 |
- |
|
| 100 |
-Process arguments |
|
| 101 |
-^^^^^^^^^^^^^^^^^ |
|
| 102 |
- |
|
| 103 |
-Networking |
|
| 104 |
-^^^^^^^^^^ |
|
| 105 |
- |
|
| 106 |
-Process namespacing |
|
| 107 |
-^^^^^^^^^^^^^^^^^^^ |
|
| 108 |
- |
|
| 109 |
-Resource limits |
|
| 110 |
-^^^^^^^^^^^^^^^ |
|
| 111 |
- |
|
| 112 |
-Process monitoring |
|
| 113 |
-^^^^^^^^^^^^^^^^^^ |
|
| 114 |
- |
|
| 115 |
-Logging |
|
| 116 |
-^^^^^^^ |
|
| 117 |
- |
|
| 118 |
-Signals |
|
| 119 |
-^^^^^^^ |
|
| 120 |
- |
|
| 121 |
-Pseudo-terminal allocation |
|
| 122 |
-^^^^^^^^^^^^^^^^^^^^^^^^^^ |
|
| 123 |
- |
|
| 124 |
-Security |
|
| 125 |
-^^^^^^^^ |
|
| 126 |
- |
|
| 8 |
+This document has been moved to :ref:`introduction`, please update your bookmarks. |
|
| 127 | 9 |
\ No newline at end of file |
| 4 | 2 |
deleted file mode 100644 |
| ... | ... |
@@ -1,210 +0,0 @@ |
| 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 |
- |
|
| 12 |
- <meta name="description" content="Docker encapsulates heterogeneous payloads in standard containers"> |
|
| 13 |
- <meta name="viewport" content="width=device-width"> |
|
| 14 |
- |
|
| 15 |
- <!-- twitter bootstrap --> |
|
| 16 |
- <link rel="stylesheet" href="../_static/css/bootstrap.min.css"> |
|
| 17 |
- <link rel="stylesheet" href="../_static/css/bootstrap-responsive.min.css"> |
|
| 18 |
- |
|
| 19 |
- <!-- main style file --> |
|
| 20 |
- <link rel="stylesheet" href="../_static/css/main.css"> |
|
| 21 |
- |
|
| 22 |
- <!-- vendor scripts --> |
|
| 23 |
- <script src="../_static/js/vendor/jquery-1.9.1.min.js" type="text/javascript" ></script> |
|
| 24 |
- <script src="../_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js" type="text/javascript" ></script> |
|
| 25 |
- |
|
| 26 |
-</head> |
|
| 27 |
- |
|
| 28 |
- |
|
| 29 |
-<body> |
|
| 30 |
- |
|
| 31 |
-<div class="navbar navbar-fixed-top"> |
|
| 32 |
- <div class="navbar-dotcloud"> |
|
| 33 |
- <div class="container" style="text-align: center;"> |
|
| 34 |
- |
|
| 35 |
- <div style="float: right" class="pull-right"> |
|
| 36 |
- <ul class="nav"> |
|
| 37 |
- <li><a href="../">Introduction</a></li> |
|
| 38 |
- <li class="active"><a href="./">Getting started</a></li> |
|
| 39 |
- <li class=""><a href="http://docs.docker.io/en/latest/concepts/containers/">Documentation</a></li> |
|
| 40 |
- </ul> |
|
| 41 |
- |
|
| 42 |
- <div class="social links" style="float: right; margin-top: 14px; margin-left: 12px"> |
|
| 43 |
- <a class="twitter" href="http://twitter.com/getdocker">Twitter</a> |
|
| 44 |
- <a class="github" href="https://github.com/dotcloud/docker/">GitHub</a> |
|
| 45 |
- </div> |
|
| 46 |
- </div> |
|
| 47 |
- |
|
| 48 |
- <div style="margin-left: -12px; float: left;"> |
|
| 49 |
- <a href="../index.html"><img style="margin-top: 12px; height: 38px" src="../_static/img/docker-letters-logo.gif"></a> |
|
| 50 |
- </div> |
|
| 51 |
- </div> |
|
| 52 |
- </div> |
|
| 53 |
-</div> |
|
| 54 |
- |
|
| 55 |
- |
|
| 56 |
-<div class="container"> |
|
| 57 |
- <div class="row"> |
|
| 58 |
- <div class="span12 titlebar"><h1 class="pageheader">GETTING STARTED</h1> |
|
| 59 |
- </div> |
|
| 60 |
- </div> |
|
| 61 |
- |
|
| 62 |
-</div> |
|
| 63 |
- |
|
| 64 |
-<div class="container"> |
|
| 65 |
- <div class="alert alert-info"> |
|
| 66 |
- <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. |
|
| 67 |
- </div> |
|
| 68 |
- <div class="row"> |
|
| 69 |
- <div class="span6"> |
|
| 70 |
- <section class="contentblock"> |
|
| 71 |
- <h2> |
|
| 72 |
- <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> |
|
| 73 |
- </a>Installing on Ubuntu</h2> |
|
| 74 |
- |
|
| 75 |
- <p><strong>Requirements</strong></p> |
|
| 76 |
- <ul> |
|
| 77 |
- <li>Ubuntu 12.04 (LTS) (64-bit)</li> |
|
| 78 |
- <li> or Ubuntu 12.10 (quantal) (64-bit)</li> |
|
| 79 |
- </ul> |
|
| 80 |
- <ol> |
|
| 81 |
- <li> |
|
| 82 |
- <p><strong>Install dependencies</strong></p> |
|
| 83 |
- The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module. |
|
| 84 |
- <pre>sudo apt-get install linux-image-extra-`uname -r`</pre> |
|
| 85 |
- |
|
| 86 |
- |
|
| 87 |
- </li> |
|
| 88 |
- <li> |
|
| 89 |
- <p><strong>Install Docker</strong></p> |
|
| 90 |
- <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p> |
|
| 91 |
- <p>You may see some warnings that the GPG keys cannot be verified.</p> |
|
| 92 |
- <div class="highlight"> |
|
| 93 |
- <pre>sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"</pre> |
|
| 94 |
- <pre>sudo apt-get update</pre> |
|
| 95 |
- <pre>sudo apt-get install lxc-docker</pre> |
|
| 96 |
- </div> |
|
| 97 |
- |
|
| 98 |
- |
|
| 99 |
- </li> |
|
| 100 |
- |
|
| 101 |
- <li> |
|
| 102 |
- <p><strong>Run!</strong></p> |
|
| 103 |
- |
|
| 104 |
- <div class="highlight"> |
|
| 105 |
- <pre>docker run -i -t ubuntu /bin/bash</pre> |
|
| 106 |
- </div> |
|
| 107 |
- </li> |
|
| 108 |
- Continue with the <a href="http://docs.docker.io/en/latest/examples/hello_world/">Hello world</a> example. |
|
| 109 |
- </ol> |
|
| 110 |
- </section> |
|
| 111 |
- |
|
| 112 |
- <section class="contentblock"> |
|
| 113 |
- <h2>Contributing to Docker</h2> |
|
| 114 |
- |
|
| 115 |
- <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> |
|
| 116 |
- </section> |
|
| 117 |
- |
|
| 118 |
- </div> |
|
| 119 |
- <div class="span6"> |
|
| 120 |
- <section class="contentblock"> |
|
| 121 |
- <h2>Quick install on other operating systems</h2> |
|
| 122 |
- <p><strong>For other operating systems we recommend and provide a streamlined install with virtualbox, |
|
| 123 |
- vagrant and an Ubuntu virtual machine.</strong></p> |
|
| 124 |
- |
|
| 125 |
- <ul> |
|
| 126 |
- <li><a href="http://docs.docker.io/en/latest/installation/vagrant/">Mac OS X and other linuxes</a></li> |
|
| 127 |
- <li><a href="http://docs.docker.io/en/latest/installation/windows/">Windows</a></li> |
|
| 128 |
- </ul> |
|
| 129 |
- |
|
| 130 |
- </section> |
|
| 131 |
- |
|
| 132 |
- <section class="contentblock"> |
|
| 133 |
- <h2>More resources</h2> |
|
| 134 |
- <ul> |
|
| 135 |
- <li><a href="irc://chat.freenode.net#docker">IRC: docker on freenode</a></li> |
|
| 136 |
- <li><a href="http://www.github.com/dotcloud/docker">Github</a></li> |
|
| 137 |
- <li><a href="http://stackoverflow.com/tags/docker/">Ask questions on Stackoverflow</a></li> |
|
| 138 |
- <li><a href="http://twitter.com/getdocker/">Join the conversation on Twitter</a></li> |
|
| 139 |
- </ul> |
|
| 140 |
- </section> |
|
| 141 |
- |
|
| 142 |
- |
|
| 143 |
- <section class="contentblock"> |
|
| 144 |
- <div id="wufoo-z7x3p3"> |
|
| 145 |
- Fill out my <a href="http://dotclouddocker.wufoo.com/forms/z7x3p3">online form</a>. |
|
| 146 |
- </div> |
|
| 147 |
- <script type="text/javascript">var z7x3p3;(function(d, t) {
|
|
| 148 |
- var s = d.createElement(t), options = {
|
|
| 149 |
- 'userName':'dotclouddocker', |
|
| 150 |
- 'formHash':'z7x3p3', |
|
| 151 |
- 'autoResize':true, |
|
| 152 |
- 'height':'577', |
|
| 153 |
- 'async':true, |
|
| 154 |
- 'header':'show'}; |
|
| 155 |
- s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
|
|
| 156 |
- s.onload = s.onreadystatechange = function() {
|
|
| 157 |
- var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return; |
|
| 158 |
- try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
|
|
| 159 |
- var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr); |
|
| 160 |
- })(document, 'script');</script> |
|
| 161 |
- </section> |
|
| 162 |
- |
|
| 163 |
- </div> |
|
| 164 |
- </div> |
|
| 165 |
-</div> |
|
| 166 |
- |
|
| 167 |
- |
|
| 168 |
-<div class="container"> |
|
| 169 |
- <footer id="footer" class="footer"> |
|
| 170 |
- <div class="row"> |
|
| 171 |
- <div class="span12 social"> |
|
| 172 |
- |
|
| 173 |
- Docker is a project by <a href="http://www.dotcloud.com">dotCloud</a> |
|
| 174 |
- |
|
| 175 |
- </div> |
|
| 176 |
- </div> |
|
| 177 |
- |
|
| 178 |
- <div class="row"> |
|
| 179 |
- <div class="emptyspace" style="height: 40px"> |
|
| 180 |
- |
|
| 181 |
- </div> |
|
| 182 |
- </div> |
|
| 183 |
- |
|
| 184 |
- </footer> |
|
| 185 |
-</div> |
|
| 186 |
- |
|
| 187 |
- |
|
| 188 |
-<!-- bootstrap javascipts --> |
|
| 189 |
-<script src="../_static/js/vendor/bootstrap.min.js" type="text/javascript"></script> |
|
| 190 |
- |
|
| 191 |
-<!-- Google analytics --> |
|
| 192 |
-<script type="text/javascript"> |
|
| 193 |
- |
|
| 194 |
- var _gaq = _gaq || []; |
|
| 195 |
- _gaq.push(['_setAccount', 'UA-6096819-11']); |
|
| 196 |
- _gaq.push(['_setDomainName', 'docker.io']); |
|
| 197 |
- _gaq.push(['_setAllowLinker', true]); |
|
| 198 |
- _gaq.push(['_trackPageview']); |
|
| 199 |
- |
|
| 200 |
- (function() {
|
|
| 201 |
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
| 202 |
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
| 203 |
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
| 204 |
- })(); |
|
| 205 |
- |
|
| 206 |
-</script> |
|
| 207 |
- |
|
| 208 |
- |
|
| 209 |
-</body> |
|
| 210 |
-</html> |
| 211 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,314 +0,0 @@ |
| 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"> <!--<![endif]--> |
|
| 7 |
-<head> |
|
| 8 |
- <meta charset="utf-8"> |
|
| 9 |
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
| 10 |
- <meta name="google-site-verification" content="UxV66EKuPe87dgnH1sbrldrx6VsoWMrx5NjwkgUFxXI" /> |
|
| 11 |
- <title>Docker - the Linux container engine</title> |
|
| 12 |
- |
|
| 13 |
- <meta name="description" content="Docker encapsulates heterogeneous payloads in standard containers"> |
|
| 14 |
- <meta name="viewport" content="width=device-width"> |
|
| 15 |
- |
|
| 16 |
- <!-- twitter bootstrap --> |
|
| 17 |
- <link rel="stylesheet" href="_static/css/bootstrap.min.css"> |
|
| 18 |
- <link rel="stylesheet" href="_static/css/bootstrap-responsive.min.css"> |
|
| 19 |
- |
|
| 20 |
- <!-- main style file --> |
|
| 21 |
- <link rel="stylesheet" href="_static/css/main.css"> |
|
| 22 |
- |
|
| 23 |
- <!-- vendor scripts --> |
|
| 24 |
- <script src="_static/js/vendor/jquery-1.9.1.min.js" type="text/javascript" ></script> |
|
| 25 |
- <script src="_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js" type="text/javascript" ></script> |
|
| 26 |
- |
|
| 27 |
- <style> |
|
| 28 |
- .indexlabel {
|
|
| 29 |
- float: left; |
|
| 30 |
- width: 150px; |
|
| 31 |
- display: block; |
|
| 32 |
- padding: 10px 20px 10px; |
|
| 33 |
- font-size: 20px; |
|
| 34 |
- font-weight: 200; |
|
| 35 |
- background-color: #a30000; |
|
| 36 |
- color: white; |
|
| 37 |
- height: 22px; |
|
| 38 |
- } |
|
| 39 |
- .searchbutton {
|
|
| 40 |
- font-size: 20px; |
|
| 41 |
- height: 40px; |
|
| 42 |
- } |
|
| 43 |
- |
|
| 44 |
- .debug {
|
|
| 45 |
- border: 1px red dotted; |
|
| 46 |
- } |
|
| 47 |
- |
|
| 48 |
- </style> |
|
| 49 |
- |
|
| 50 |
-</head> |
|
| 51 |
- |
|
| 52 |
- |
|
| 53 |
-<body> |
|
| 54 |
- |
|
| 55 |
-<div class="navbar navbar-fixed-top"> |
|
| 56 |
- <div class="navbar-dotcloud"> |
|
| 57 |
- <div class="container" style="text-align: center;"> |
|
| 58 |
- |
|
| 59 |
- <div class="pull-right" > |
|
| 60 |
- <ul class="nav"> |
|
| 61 |
- <li class="active"><a href="./">Introduction</a></li> |
|
| 62 |
- <li ><a href="gettingstarted/">Getting started</a></li> |
|
| 63 |
- <li class=""><a href="http://docs.docker.io/en/latest/concepts/containers/">Documentation</a></li> |
|
| 64 |
- </ul> |
|
| 65 |
- |
|
| 66 |
- <div class="social links" style="float: right; margin-top: 14px; margin-left: 12px"> |
|
| 67 |
- <a class="twitter" href="http://twitter.com/getdocker">Twitter</a> |
|
| 68 |
- <a class="github" href="https://github.com/dotcloud/docker/">GitHub</a> |
|
| 69 |
- </div> |
|
| 70 |
- </div> |
|
| 71 |
- </div> |
|
| 72 |
- </div> |
|
| 73 |
-</div> |
|
| 74 |
- |
|
| 75 |
- |
|
| 76 |
-<div class="container" style="margin-top: 30px;"> |
|
| 77 |
- <div class="row"> |
|
| 78 |
- |
|
| 79 |
- <div class="span12"> |
|
| 80 |
- <section class="contentblock header"> |
|
| 81 |
- |
|
| 82 |
- <div class="span5" style="margin-bottom: 15px;"> |
|
| 83 |
- <div style="text-align: center;" > |
|
| 84 |
- <img src="_static/img/docker_letters_500px.png"> |
|
| 85 |
- |
|
| 86 |
- <h2>The Linux container engine</h2> |
|
| 87 |
- </div> |
|
| 88 |
- |
|
| 89 |
- <div style="display: block; text-align: center; margin-top: 20px;"> |
|
| 90 |
- |
|
| 91 |
- <h5> |
|
| 92 |
- Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers which are independent of hardware, language, framework, packaging system and hosting provider. |
|
| 93 |
- </h5> |
|
| 94 |
- |
|
| 95 |
- </div> |
|
| 96 |
- |
|
| 97 |
- |
|
| 98 |
- <div style="display: block; text-align: center; margin-top: 30px;"> |
|
| 99 |
- <a class="btn btn-custom btn-large" href="gettingstarted/">Let's get started</a> |
|
| 100 |
- </div> |
|
| 101 |
- |
|
| 102 |
- </div> |
|
| 103 |
- |
|
| 104 |
- <div class="span6" > |
|
| 105 |
- <div class="js-video" > |
|
| 106 |
- <iframe width="600" height="360" src="http://www.youtube.com/embed/wW9CAH9nSLs?feature=player_detailpage&rel=0&modestbranding=1&start=11" frameborder="0" allowfullscreen></iframe> |
|
| 107 |
- </div> |
|
| 108 |
- </div> |
|
| 109 |
- |
|
| 110 |
- <br style="clear: both"/> |
|
| 111 |
- </section> |
|
| 112 |
- </div> |
|
| 113 |
- </div> |
|
| 114 |
-</div> |
|
| 115 |
- |
|
| 116 |
-<div class="container"> |
|
| 117 |
- <div class="row"> |
|
| 118 |
- |
|
| 119 |
- <div class="span6"> |
|
| 120 |
- <section class="contentblock"> |
|
| 121 |
- <h4>Heterogeneous payloads</h4> |
|
| 122 |
- <p>Any combination of binaries, libraries, configuration files, scripts, virtualenvs, jars, gems, tarballs, you name it. No more juggling between domain-specific tools. Docker can deploy and run them all.</p> |
|
| 123 |
- <h4>Any server</h4> |
|
| 124 |
- <p>Docker can run on any x64 machine with a modern linux kernel - whether it's a laptop, a bare metal server or a VM. This makes it perfect for multi-cloud deployments.</p> |
|
| 125 |
- <h4>Isolation</h4> |
|
| 126 |
- <p>Docker isolates processes from each other and from the underlying host, using lightweight containers.</p> |
|
| 127 |
- <h4>Repeatability</h4> |
|
| 128 |
- <p>Because each container is isolated in its own filesystem, they behave the same regardless of where, when, and alongside what they run.</p> |
|
| 129 |
- </section> |
|
| 130 |
- </div> |
|
| 131 |
- <div class="span6"> |
|
| 132 |
- <section class="contentblock"> |
|
| 133 |
- <h1>New! Docker Index</h1> |
|
| 134 |
- On the Docker Index you can find and explore pre-made container images. It allows you to share your images and download them. |
|
| 135 |
- |
|
| 136 |
- <br><br> |
|
| 137 |
- <a href="https://index.docker.io" target="_blank"> |
|
| 138 |
- <div class="indexlabel"> |
|
| 139 |
- DOCKER index |
|
| 140 |
- </div> |
|
| 141 |
- </a> |
|
| 142 |
- |
|
| 143 |
- <input type="button" class="searchbutton" type="submit" value="Search images" |
|
| 144 |
- onClick="window.open('https://index.docker.io')" />
|
|
| 145 |
- |
|
| 146 |
- </section> |
|
| 147 |
- <section class="contentblock"> |
|
| 148 |
- <div id="wufoo-z7x3p3"> |
|
| 149 |
- Fill out my <a href="http://dotclouddocker.wufoo.com/forms/z7x3p3">online form</a>. |
|
| 150 |
- </div> |
|
| 151 |
- <script type="text/javascript">var z7x3p3;(function(d, t) {
|
|
| 152 |
- var s = d.createElement(t), options = {
|
|
| 153 |
- 'userName':'dotclouddocker', |
|
| 154 |
- 'formHash':'z7x3p3', |
|
| 155 |
- 'autoResize':true, |
|
| 156 |
- 'height':'577', |
|
| 157 |
- 'async':true, |
|
| 158 |
- 'header':'show'}; |
|
| 159 |
- s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
|
|
| 160 |
- s.onload = s.onreadystatechange = function() {
|
|
| 161 |
- var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return; |
|
| 162 |
- try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
|
|
| 163 |
- var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr); |
|
| 164 |
- })(document, 'script');</script> |
|
| 165 |
- </section> |
|
| 166 |
- </div> |
|
| 167 |
- </div> |
|
| 168 |
- |
|
| 169 |
-</div> |
|
| 170 |
- |
|
| 171 |
-<style> |
|
| 172 |
- .twitterblock {
|
|
| 173 |
- min-height: 75px; |
|
| 174 |
- } |
|
| 175 |
- |
|
| 176 |
- .twitterblock img {
|
|
| 177 |
- float: left; |
|
| 178 |
- margin-right: 10px; |
|
| 179 |
- } |
|
| 180 |
- |
|
| 181 |
-</style> |
|
| 182 |
- |
|
| 183 |
- |
|
| 184 |
-<div class="container"> |
|
| 185 |
- <div class="row"> |
|
| 186 |
- <div class="span6"> |
|
| 187 |
- <section class="contentblock twitterblock"> |
|
| 188 |
- <img src="https://twimg0-a.akamaihd.net/profile_images/2491994496/rbevyyq6ykp6bnoby2je_bigger.jpeg"> |
|
| 189 |
- <em>John Willis @botchagalupe:</em> IMHO docker is to paas what chef was to Iaas 4 years ago |
|
| 190 |
- </section> |
|
| 191 |
- </div> |
|
| 192 |
- <div class="span6"> |
|
| 193 |
- <section class="contentblock twitterblock"> |
|
| 194 |
- <img src="https://twimg0-a.akamaihd.net/profile_images/3348427561/9d7f08f1e103a16c8debd169301b9944_bigger.jpeg"> |
|
| 195 |
- <em>John Feminella @superninjarobot:</em> So, @getdocker is pure excellence. If you've ever wished for arbitrary, PaaS-agnostic, lxc/aufs Linux containers, this is your jam! |
|
| 196 |
- </section> |
|
| 197 |
- </div> |
|
| 198 |
- </div> |
|
| 199 |
- <div class="row"> |
|
| 200 |
- <div class="span6"> |
|
| 201 |
- <section class="contentblock twitterblock"> |
|
| 202 |
- <img src="https://si0.twimg.com/profile_images/3408403010/4496ccdd14e9b7285eca04c31a740207_bigger.jpeg"> |
|
| 203 |
- <em>David Romulan @destructuring:</em> I haven't had this much fun since AWS |
|
| 204 |
- </section> |
|
| 205 |
- </div> |
|
| 206 |
- <div class="span6"> |
|
| 207 |
- <section class="contentblock twitterblock"> |
|
| 208 |
- <img src="https://si0.twimg.com/profile_images/780893320/My_Avatar_bigger.jpg"> |
|
| 209 |
- <em>Ricardo Gladwell @rgladwell:</em> wow @getdocker is either amazing or totally stupid |
|
| 210 |
- </section> |
|
| 211 |
- </div> |
|
| 212 |
- |
|
| 213 |
- </div> |
|
| 214 |
-</div> |
|
| 215 |
- |
|
| 216 |
-<div class="container"> |
|
| 217 |
- <div class="row"> |
|
| 218 |
- <div class="span6"> |
|
| 219 |
- |
|
| 220 |
- <section class="contentblock"> |
|
| 221 |
- |
|
| 222 |
- <h2>Notable features</h2> |
|
| 223 |
- |
|
| 224 |
- <ul> |
|
| 225 |
- <li>Filesystem isolation: each process container runs in a completely separate root filesystem.</li> |
|
| 226 |
- <li>Resource isolation: system resources like cpu and memory can be allocated differently to each process container, using cgroups.</li> |
|
| 227 |
- <li>Network isolation: each process container runs in its own network namespace, with a virtual interface and IP address of its own.</li> |
|
| 228 |
- <li>Copy-on-write: root filesystems are created using copy-on-write, which makes deployment extremeley fast, memory-cheap and disk-cheap.</li> |
|
| 229 |
- <li>Logging: the standard streams (stdout/stderr/stdin) of each process container is collected and logged for real-time or batch retrieval.</li> |
|
| 230 |
- <li>Change management: changes to a container's filesystem can be committed into a new image and re-used to create more containers. No templating or manual configuration required.</li> |
|
| 231 |
- <li>Interactive shell: docker can allocate a pseudo-tty and attach to the standard input of any container, for example to run a throwaway interactive shell.</li> |
|
| 232 |
- </ul> |
|
| 233 |
- |
|
| 234 |
- <h2>Under the hood</h2> |
|
| 235 |
- |
|
| 236 |
- <p>Under the hood, Docker is built on the following components:</p> |
|
| 237 |
- |
|
| 238 |
- <ul> |
|
| 239 |
- <li>The <a href="http://blog.dotcloud.com/kernel-secrets-from-the-paas-garage-part-24-c">cgroup</a> and <a href="http://blog.dotcloud.com/under-the-hood-linux-kernels-on-dotcloud-part">namespacing</a> capabilities of the Linux kernel;</li> |
|
| 240 |
- <li><a href="http://aufs.sourceforge.net/aufs.html">AUFS</a>, a powerful union filesystem with copy-on-write capabilities;</li> |
|
| 241 |
- <li>The <a href="http://golang.org">Go</a> programming language;</li> |
|
| 242 |
- <li><a href="http://lxc.sourceforge.net/">lxc</a>, a set of convenience scripts to simplify the creation of linux containers.</li> |
|
| 243 |
- </ul> |
|
| 244 |
- |
|
| 245 |
- <h2>Who started it</h2> |
|
| 246 |
- <p> |
|
| 247 |
- Docker is an open-source implementation of the deployment engine which powers <a href="http://dotcloud.com">dotCloud</a>, a popular Platform-as-a-Service.</p> |
|
| 248 |
- |
|
| 249 |
- <p>It benefits directly from the experience accumulated over several years of large-scale operation and support of hundreds of thousands |
|
| 250 |
- of applications and databases. |
|
| 251 |
- </p> |
|
| 252 |
- |
|
| 253 |
- </section> |
|
| 254 |
- </div> |
|
| 255 |
- |
|
| 256 |
- <div class="span6"> |
|
| 257 |
- |
|
| 258 |
- |
|
| 259 |
- <section class="contentblock"> |
|
| 260 |
- <h3 id="twitter">Twitter</h3> |
|
| 261 |
- <a class="twitter-timeline" href="https://twitter.com/getdocker" data-widget-id="312730839718957056">Tweets by @getdocker</a> |
|
| 262 |
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
|
| 263 |
- </section> |
|
| 264 |
- |
|
| 265 |
- </div> |
|
| 266 |
- </div> |
|
| 267 |
- |
|
| 268 |
-</div> <!-- end container --> |
|
| 269 |
- |
|
| 270 |
- |
|
| 271 |
-<div class="container"> |
|
| 272 |
- <footer id="footer" class="footer"> |
|
| 273 |
- <div class="row"> |
|
| 274 |
- <div class="span12"> |
|
| 275 |
- |
|
| 276 |
- Docker is a project by <a href="http://www.dotcloud.com">dotCloud</a> |
|
| 277 |
- |
|
| 278 |
- </div> |
|
| 279 |
- </div> |
|
| 280 |
- |
|
| 281 |
- <div class="row"> |
|
| 282 |
- <div class="emptyspace" style="height: 40px"> |
|
| 283 |
- |
|
| 284 |
- </div> |
|
| 285 |
- </div> |
|
| 286 |
- |
|
| 287 |
- </footer> |
|
| 288 |
-</div> |
|
| 289 |
- |
|
| 290 |
- |
|
| 291 |
- |
|
| 292 |
-<!-- bootstrap javascipts --> |
|
| 293 |
-<script src="_static/js/vendor/bootstrap.min.js" type="text/javascript"></script> |
|
| 294 |
- |
|
| 295 |
-<!-- Google analytics --> |
|
| 296 |
-<script type="text/javascript"> |
|
| 297 |
- |
|
| 298 |
- var _gaq = _gaq || []; |
|
| 299 |
- _gaq.push(['_setAccount', 'UA-6096819-11']); |
|
| 300 |
- _gaq.push(['_setDomainName', 'docker.io']); |
|
| 301 |
- _gaq.push(['_setAllowLinker', true]); |
|
| 302 |
- _gaq.push(['_trackPageview']); |
|
| 303 |
- |
|
| 304 |
- (function() {
|
|
| 305 |
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
| 306 |
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
| 307 |
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
| 308 |
- })(); |
|
| 309 |
- |
|
| 310 |
-</script> |
|
| 311 |
- |
|
| 312 |
- |
|
| 313 |
-</body> |
|
| 314 |
-</html> |
| 315 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,6 +0,0 @@ |
| 1 |
- |
|
| 2 |
-# rule to redirect original links created when hosted on github pages |
|
| 3 |
-rewrite ^/documentation/(.*).html http://docs.docker.io/en/latest/$1/ permanent; |
|
| 4 |
- |
|
| 5 |
-# rewrite the stuff which was on the current page |
|
| 6 |
-rewrite ^/gettingstarted.html$ /gettingstarted/ permanent; |
| 1 | 3 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,210 @@ |
| 0 |
+<!DOCTYPE html> |
|
| 1 |
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
|
| 2 |
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
|
| 3 |
+<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
|
| 4 |
+<!--[if gt IE 8]><!--> |
|
| 5 |
+<html class="no-js" xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> |
|
| 6 |
+<head> |
|
| 7 |
+ <meta charset="utf-8"> |
|
| 8 |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
| 9 |
+ <title>Docker - the Linux container runtime</title> |
|
| 10 |
+ |
|
| 11 |
+ <meta name="description" content="Docker encapsulates heterogeneous payloads in standard containers"> |
|
| 12 |
+ <meta name="viewport" content="width=device-width"> |
|
| 13 |
+ |
|
| 14 |
+ <!-- twitter bootstrap --> |
|
| 15 |
+ <link rel="stylesheet" href="../static/css/bootstrap.min.css"> |
|
| 16 |
+ <link rel="stylesheet" href="../static/css/bootstrap-responsive.min.css"> |
|
| 17 |
+ |
|
| 18 |
+ <!-- main style file --> |
|
| 19 |
+ <link rel="stylesheet" href="../static/css/main.css"> |
|
| 20 |
+ |
|
| 21 |
+ <!-- vendor scripts --> |
|
| 22 |
+ <script src="../static/js/vendor/jquery-1.9.1.min.js" type="text/javascript" ></script> |
|
| 23 |
+ <script src="../static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js" type="text/javascript" ></script> |
|
| 24 |
+ |
|
| 25 |
+</head> |
|
| 26 |
+ |
|
| 27 |
+ |
|
| 28 |
+<body> |
|
| 29 |
+ |
|
| 30 |
+<div class="navbar navbar-fixed-top"> |
|
| 31 |
+ <div class="navbar-dotcloud"> |
|
| 32 |
+ <div class="container" style="text-align: center;"> |
|
| 33 |
+ |
|
| 34 |
+ <div style="float: right" class="pull-right"> |
|
| 35 |
+ <ul class="nav"> |
|
| 36 |
+ <li><a href="../">Introduction</a></li> |
|
| 37 |
+ <li class="active"><a href="">Getting started</a></li> |
|
| 38 |
+ <li class=""><a href="http://docs.docker.io/en/latest/concepts/introduction/">Documentation</a></li> |
|
| 39 |
+ </ul> |
|
| 40 |
+ |
|
| 41 |
+ <div class="social links" style="float: right; margin-top: 14px; margin-left: 12px"> |
|
| 42 |
+ <a class="twitter" href="http://twitter.com/getdocker">Twitter</a> |
|
| 43 |
+ <a class="github" href="https://github.com/dotcloud/docker/">GitHub</a> |
|
| 44 |
+ </div> |
|
| 45 |
+ </div> |
|
| 46 |
+ |
|
| 47 |
+ <div style="margin-left: -12px; float: left;"> |
|
| 48 |
+ <a href="../index.html"><img style="margin-top: 12px; height: 38px" src="../static/img/docker-letters-logo.gif"></a> |
|
| 49 |
+ </div> |
|
| 50 |
+ </div> |
|
| 51 |
+ </div> |
|
| 52 |
+</div> |
|
| 53 |
+ |
|
| 54 |
+ |
|
| 55 |
+<div class="container"> |
|
| 56 |
+ <div class="row"> |
|
| 57 |
+ <div class="span12 titlebar"><h1 class="pageheader">GETTING STARTED</h1> |
|
| 58 |
+ </div> |
|
| 59 |
+ </div> |
|
| 60 |
+ |
|
| 61 |
+</div> |
|
| 62 |
+ |
|
| 63 |
+<div class="container"> |
|
| 64 |
+ <div class="alert alert-info"> |
|
| 65 |
+ <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. |
|
| 66 |
+ </div> |
|
| 67 |
+ <div class="row"> |
|
| 68 |
+ <div class="span6"> |
|
| 69 |
+ <section class="contentblock"> |
|
| 70 |
+ <h2> |
|
| 71 |
+ <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> |
|
| 72 |
+ </a>Installing on Ubuntu</h2> |
|
| 73 |
+ |
|
| 74 |
+ <p><strong>Requirements</strong></p> |
|
| 75 |
+ <ul> |
|
| 76 |
+ <li>Ubuntu 12.04 (LTS) (64-bit)</li> |
|
| 77 |
+ <li> or Ubuntu 12.10 (quantal) (64-bit)</li> |
|
| 78 |
+ </ul> |
|
| 79 |
+ <ol> |
|
| 80 |
+ <li> |
|
| 81 |
+ <p><strong>Install dependencies</strong></p> |
|
| 82 |
+ The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module. |
|
| 83 |
+ <pre>sudo apt-get install linux-image-extra-`uname -r`</pre> |
|
| 84 |
+ |
|
| 85 |
+ |
|
| 86 |
+ </li> |
|
| 87 |
+ <li> |
|
| 88 |
+ <p><strong>Install Docker</strong></p> |
|
| 89 |
+ <p>Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.</p> |
|
| 90 |
+ <p>You may see some warnings that the GPG keys cannot be verified.</p> |
|
| 91 |
+ <div class="highlight"> |
|
| 92 |
+ <pre>sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"</pre> |
|
| 93 |
+ <pre>sudo apt-get update</pre> |
|
| 94 |
+ <pre>sudo apt-get install lxc-docker</pre> |
|
| 95 |
+ </div> |
|
| 96 |
+ |
|
| 97 |
+ |
|
| 98 |
+ </li> |
|
| 99 |
+ |
|
| 100 |
+ <li> |
|
| 101 |
+ <p><strong>Run!</strong></p> |
|
| 102 |
+ |
|
| 103 |
+ <div class="highlight"> |
|
| 104 |
+ <pre>docker run -i -t ubuntu /bin/bash</pre> |
|
| 105 |
+ </div> |
|
| 106 |
+ </li> |
|
| 107 |
+ Continue with the <a href="http://docs.docker.io/en/latest/examples/hello_world/">Hello world</a> example. |
|
| 108 |
+ </ol> |
|
| 109 |
+ </section> |
|
| 110 |
+ |
|
| 111 |
+ <section class="contentblock"> |
|
| 112 |
+ <h2>Contributing to Docker</h2> |
|
| 113 |
+ |
|
| 114 |
+ <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> |
|
| 115 |
+ </section> |
|
| 116 |
+ |
|
| 117 |
+ </div> |
|
| 118 |
+ <div class="span6"> |
|
| 119 |
+ <section class="contentblock"> |
|
| 120 |
+ <h2>Quick install on other operating systems</h2> |
|
| 121 |
+ <p><strong>For other operating systems we recommend and provide a streamlined install with virtualbox, |
|
| 122 |
+ vagrant and an Ubuntu virtual machine.</strong></p> |
|
| 123 |
+ |
|
| 124 |
+ <ul> |
|
| 125 |
+ <li><a href="http://docs.docker.io/en/latest/installation/vagrant/">Mac OS X and other linuxes</a></li> |
|
| 126 |
+ <li><a href="http://docs.docker.io/en/latest/installation/windows/">Windows</a></li> |
|
| 127 |
+ </ul> |
|
| 128 |
+ |
|
| 129 |
+ </section> |
|
| 130 |
+ |
|
| 131 |
+ <section class="contentblock"> |
|
| 132 |
+ <h2>More resources</h2> |
|
| 133 |
+ <ul> |
|
| 134 |
+ <li><a href="irc://chat.freenode.net#docker">IRC: docker on freenode</a></li> |
|
| 135 |
+ <li><a href="http://www.github.com/dotcloud/docker">Github</a></li> |
|
| 136 |
+ <li><a href="http://stackoverflow.com/tags/docker/">Ask questions on Stackoverflow</a></li> |
|
| 137 |
+ <li><a href="http://twitter.com/getdocker/">Join the conversation on Twitter</a></li> |
|
| 138 |
+ </ul> |
|
| 139 |
+ </section> |
|
| 140 |
+ |
|
| 141 |
+ |
|
| 142 |
+ <section class="contentblock"> |
|
| 143 |
+ <div id="wufoo-z7x3p3"> |
|
| 144 |
+ Fill out my <a href="http://dotclouddocker.wufoo.com/forms/z7x3p3">online form</a>. |
|
| 145 |
+ </div> |
|
| 146 |
+ <script type="text/javascript">var z7x3p3;(function(d, t) {
|
|
| 147 |
+ var s = d.createElement(t), options = {
|
|
| 148 |
+ 'userName':'dotclouddocker', |
|
| 149 |
+ 'formHash':'z7x3p3', |
|
| 150 |
+ 'autoResize':true, |
|
| 151 |
+ 'height':'577', |
|
| 152 |
+ 'async':true, |
|
| 153 |
+ 'header':'show'}; |
|
| 154 |
+ s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
|
|
| 155 |
+ s.onload = s.onreadystatechange = function() {
|
|
| 156 |
+ var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return; |
|
| 157 |
+ try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
|
|
| 158 |
+ var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr); |
|
| 159 |
+ })(document, 'script');</script> |
|
| 160 |
+ </section> |
|
| 161 |
+ |
|
| 162 |
+ </div> |
|
| 163 |
+ </div> |
|
| 164 |
+</div> |
|
| 165 |
+ |
|
| 166 |
+ |
|
| 167 |
+<div class="container"> |
|
| 168 |
+ <footer id="footer" class="footer"> |
|
| 169 |
+ <div class="row"> |
|
| 170 |
+ <div class="span12 social"> |
|
| 171 |
+ |
|
| 172 |
+ Docker is a project by <a href="http://www.dotcloud.com">dotCloud</a> |
|
| 173 |
+ |
|
| 174 |
+ </div> |
|
| 175 |
+ </div> |
|
| 176 |
+ |
|
| 177 |
+ <div class="row"> |
|
| 178 |
+ <div class="emptyspace" style="height: 40px"> |
|
| 179 |
+ |
|
| 180 |
+ </div> |
|
| 181 |
+ </div> |
|
| 182 |
+ |
|
| 183 |
+ </footer> |
|
| 184 |
+</div> |
|
| 185 |
+ |
|
| 186 |
+ |
|
| 187 |
+<!-- bootstrap javascipts --> |
|
| 188 |
+<script src="../static/js/vendor/bootstrap.min.js" type="text/javascript"></script> |
|
| 189 |
+ |
|
| 190 |
+<!-- Google analytics --> |
|
| 191 |
+<script type="text/javascript"> |
|
| 192 |
+ |
|
| 193 |
+ var _gaq = _gaq || []; |
|
| 194 |
+ _gaq.push(['_setAccount', 'UA-6096819-11']); |
|
| 195 |
+ _gaq.push(['_setDomainName', 'docker.io']); |
|
| 196 |
+ _gaq.push(['_setAllowLinker', true]); |
|
| 197 |
+ _gaq.push(['_trackPageview']); |
|
| 198 |
+ |
|
| 199 |
+ (function() {
|
|
| 200 |
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
| 201 |
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
| 202 |
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
| 203 |
+ })(); |
|
| 204 |
+ |
|
| 205 |
+</script> |
|
| 206 |
+ |
|
| 207 |
+ |
|
| 208 |
+</body> |
|
| 209 |
+</html> |
| 0 | 210 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,314 @@ |
| 0 |
+<!DOCTYPE html> |
|
| 1 |
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> |
|
| 2 |
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> |
|
| 3 |
+<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> |
|
| 4 |
+<!--[if gt IE 8]><!--> |
|
| 5 |
+<html class="no-js" xmlns="http://www.w3.org/1999/html"> <!--<![endif]--> |
|
| 6 |
+<head> |
|
| 7 |
+ <meta charset="utf-8"> |
|
| 8 |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|
| 9 |
+ <meta name="google-site-verification" content="UxV66EKuPe87dgnH1sbrldrx6VsoWMrx5NjwkgUFxXI" /> |
|
| 10 |
+ <title>Docker - the Linux container engine</title> |
|
| 11 |
+ |
|
| 12 |
+ <meta name="description" content="Docker encapsulates heterogeneous payloads in standard containers"> |
|
| 13 |
+ <meta name="viewport" content="width=device-width"> |
|
| 14 |
+ |
|
| 15 |
+ <!-- twitter bootstrap --> |
|
| 16 |
+ <link rel="stylesheet" href="static/css/bootstrap.min.css"> |
|
| 17 |
+ <link rel="stylesheet" href="static/css/bootstrap-responsive.min.css"> |
|
| 18 |
+ |
|
| 19 |
+ <!-- main style file --> |
|
| 20 |
+ <link rel="stylesheet" href="static/css/main.css"> |
|
| 21 |
+ |
|
| 22 |
+ <!-- vendor scripts --> |
|
| 23 |
+ <script src="static/js/vendor/jquery-1.9.1.min.js" type="text/javascript" ></script> |
|
| 24 |
+ <script src="static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js" type="text/javascript" ></script> |
|
| 25 |
+ |
|
| 26 |
+ <style> |
|
| 27 |
+ .indexlabel {
|
|
| 28 |
+ float: left; |
|
| 29 |
+ width: 150px; |
|
| 30 |
+ display: block; |
|
| 31 |
+ padding: 10px 20px 10px; |
|
| 32 |
+ font-size: 20px; |
|
| 33 |
+ font-weight: 200; |
|
| 34 |
+ background-color: #a30000; |
|
| 35 |
+ color: white; |
|
| 36 |
+ height: 22px; |
|
| 37 |
+ } |
|
| 38 |
+ .searchbutton {
|
|
| 39 |
+ font-size: 20px; |
|
| 40 |
+ height: 40px; |
|
| 41 |
+ } |
|
| 42 |
+ |
|
| 43 |
+ .debug {
|
|
| 44 |
+ border: 1px red dotted; |
|
| 45 |
+ } |
|
| 46 |
+ |
|
| 47 |
+ </style> |
|
| 48 |
+ |
|
| 49 |
+</head> |
|
| 50 |
+ |
|
| 51 |
+ |
|
| 52 |
+<body> |
|
| 53 |
+ |
|
| 54 |
+<div class="navbar navbar-fixed-top"> |
|
| 55 |
+ <div class="navbar-dotcloud"> |
|
| 56 |
+ <div class="container" style="text-align: center;"> |
|
| 57 |
+ |
|
| 58 |
+ <div class="pull-right" > |
|
| 59 |
+ <ul class="nav"> |
|
| 60 |
+ <li class="active"><a href="../sources">Introduction</a></li> |
|
| 61 |
+ <li ><a href="gettingstarted">Getting started</a></li> |
|
| 62 |
+ <li class=""><a href="http://docs.docker.io/en/latest/concepts/introduction/">Documentation</a></li> |
|
| 63 |
+ </ul> |
|
| 64 |
+ |
|
| 65 |
+ <div class="social links" style="float: right; margin-top: 14px; margin-left: 12px"> |
|
| 66 |
+ <a class="twitter" href="http://twitter.com/getdocker">Twitter</a> |
|
| 67 |
+ <a class="github" href="https://github.com/dotcloud/docker/">GitHub</a> |
|
| 68 |
+ </div> |
|
| 69 |
+ </div> |
|
| 70 |
+ </div> |
|
| 71 |
+ </div> |
|
| 72 |
+</div> |
|
| 73 |
+ |
|
| 74 |
+ |
|
| 75 |
+<div class="container" style="margin-top: 30px;"> |
|
| 76 |
+ <div class="row"> |
|
| 77 |
+ |
|
| 78 |
+ <div class="span12"> |
|
| 79 |
+ <section class="contentblock header"> |
|
| 80 |
+ |
|
| 81 |
+ <div class="span5" style="margin-bottom: 15px;"> |
|
| 82 |
+ <div style="text-align: center;" > |
|
| 83 |
+ <img src="static/img/docker_letters_500px.png"> |
|
| 84 |
+ |
|
| 85 |
+ <h2>The Linux container engine</h2> |
|
| 86 |
+ </div> |
|
| 87 |
+ |
|
| 88 |
+ <div style="display: block; text-align: center; margin-top: 20px;"> |
|
| 89 |
+ |
|
| 90 |
+ <h5> |
|
| 91 |
+ Docker is an open-source engine which automates the deployment of applications as highly portable, self-sufficient containers which are independent of hardware, language, framework, packaging system and hosting provider. |
|
| 92 |
+ </h5> |
|
| 93 |
+ |
|
| 94 |
+ </div> |
|
| 95 |
+ |
|
| 96 |
+ |
|
| 97 |
+ <div style="display: block; text-align: center; margin-top: 30px;"> |
|
| 98 |
+ <a class="btn btn-custom btn-large" href="gettingstarted/">Let's get started</a> |
|
| 99 |
+ </div> |
|
| 100 |
+ |
|
| 101 |
+ </div> |
|
| 102 |
+ |
|
| 103 |
+ <div class="span6" > |
|
| 104 |
+ <div class="js-video" > |
|
| 105 |
+ <iframe width="600" height="360" src="http://www.youtube.com/embed/wW9CAH9nSLs?feature=player_detailpage&rel=0&modestbranding=1&start=11" frameborder="0" allowfullscreen></iframe> |
|
| 106 |
+ </div> |
|
| 107 |
+ </div> |
|
| 108 |
+ |
|
| 109 |
+ <br style="clear: both"/> |
|
| 110 |
+ </section> |
|
| 111 |
+ </div> |
|
| 112 |
+ </div> |
|
| 113 |
+</div> |
|
| 114 |
+ |
|
| 115 |
+<div class="container"> |
|
| 116 |
+ <div class="row"> |
|
| 117 |
+ |
|
| 118 |
+ <div class="span6"> |
|
| 119 |
+ <section class="contentblock"> |
|
| 120 |
+ <h4>Heterogeneous payloads</h4> |
|
| 121 |
+ <p>Any combination of binaries, libraries, configuration files, scripts, virtualenvs, jars, gems, tarballs, you name it. No more juggling between domain-specific tools. Docker can deploy and run them all.</p> |
|
| 122 |
+ <h4>Any server</h4> |
|
| 123 |
+ <p>Docker can run on any x64 machine with a modern linux kernel - whether it's a laptop, a bare metal server or a VM. This makes it perfect for multi-cloud deployments.</p> |
|
| 124 |
+ <h4>Isolation</h4> |
|
| 125 |
+ <p>Docker isolates processes from each other and from the underlying host, using lightweight containers.</p> |
|
| 126 |
+ <h4>Repeatability</h4> |
|
| 127 |
+ <p>Because each container is isolated in its own filesystem, they behave the same regardless of where, when, and alongside what they run.</p> |
|
| 128 |
+ </section> |
|
| 129 |
+ </div> |
|
| 130 |
+ <div class="span6"> |
|
| 131 |
+ <section class="contentblock"> |
|
| 132 |
+ <h1>New! Docker Index</h1> |
|
| 133 |
+ On the Docker Index you can find and explore pre-made container images. It allows you to share your images and download them. |
|
| 134 |
+ |
|
| 135 |
+ <br><br> |
|
| 136 |
+ <a href="https://index.docker.io" target="_blank"> |
|
| 137 |
+ <div class="indexlabel"> |
|
| 138 |
+ DOCKER index |
|
| 139 |
+ </div> |
|
| 140 |
+ </a> |
|
| 141 |
+ |
|
| 142 |
+ <input type="button" class="searchbutton" type="submit" value="Search images" |
|
| 143 |
+ onClick="window.open('https://index.docker.io')" />
|
|
| 144 |
+ |
|
| 145 |
+ </section> |
|
| 146 |
+ <section class="contentblock"> |
|
| 147 |
+ <div id="wufoo-z7x3p3"> |
|
| 148 |
+ Fill out my <a href="http://dotclouddocker.wufoo.com/forms/z7x3p3">online form</a>. |
|
| 149 |
+ </div> |
|
| 150 |
+ <script type="text/javascript">var z7x3p3;(function(d, t) {
|
|
| 151 |
+ var s = d.createElement(t), options = {
|
|
| 152 |
+ 'userName':'dotclouddocker', |
|
| 153 |
+ 'formHash':'z7x3p3', |
|
| 154 |
+ 'autoResize':true, |
|
| 155 |
+ 'height':'577', |
|
| 156 |
+ 'async':true, |
|
| 157 |
+ 'header':'show'}; |
|
| 158 |
+ s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
|
|
| 159 |
+ s.onload = s.onreadystatechange = function() {
|
|
| 160 |
+ var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return; |
|
| 161 |
+ try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
|
|
| 162 |
+ var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr); |
|
| 163 |
+ })(document, 'script');</script> |
|
| 164 |
+ </section> |
|
| 165 |
+ </div> |
|
| 166 |
+ </div> |
|
| 167 |
+ |
|
| 168 |
+</div> |
|
| 169 |
+ |
|
| 170 |
+<style> |
|
| 171 |
+ .twitterblock {
|
|
| 172 |
+ min-height: 75px; |
|
| 173 |
+ } |
|
| 174 |
+ |
|
| 175 |
+ .twitterblock img {
|
|
| 176 |
+ float: left; |
|
| 177 |
+ margin-right: 10px; |
|
| 178 |
+ } |
|
| 179 |
+ |
|
| 180 |
+</style> |
|
| 181 |
+ |
|
| 182 |
+ |
|
| 183 |
+<div class="container"> |
|
| 184 |
+ <div class="row"> |
|
| 185 |
+ <div class="span6"> |
|
| 186 |
+ <section class="contentblock twitterblock"> |
|
| 187 |
+ <img src="https://twimg0-a.akamaihd.net/profile_images/2491994496/rbevyyq6ykp6bnoby2je_bigger.jpeg"> |
|
| 188 |
+ <em>John Willis @botchagalupe:</em> IMHO docker is to paas what chef was to Iaas 4 years ago |
|
| 189 |
+ </section> |
|
| 190 |
+ </div> |
|
| 191 |
+ <div class="span6"> |
|
| 192 |
+ <section class="contentblock twitterblock"> |
|
| 193 |
+ <img src="https://twimg0-a.akamaihd.net/profile_images/3348427561/9d7f08f1e103a16c8debd169301b9944_bigger.jpeg"> |
|
| 194 |
+ <em>John Feminella @superninjarobot:</em> So, @getdocker is pure excellence. If you've ever wished for arbitrary, PaaS-agnostic, lxc/aufs Linux containers, this is your jam! |
|
| 195 |
+ </section> |
|
| 196 |
+ </div> |
|
| 197 |
+ </div> |
|
| 198 |
+ <div class="row"> |
|
| 199 |
+ <div class="span6"> |
|
| 200 |
+ <section class="contentblock twitterblock"> |
|
| 201 |
+ <img src="https://si0.twimg.com/profile_images/3408403010/4496ccdd14e9b7285eca04c31a740207_bigger.jpeg"> |
|
| 202 |
+ <em>David Romulan @destructuring:</em> I haven't had this much fun since AWS |
|
| 203 |
+ </section> |
|
| 204 |
+ </div> |
|
| 205 |
+ <div class="span6"> |
|
| 206 |
+ <section class="contentblock twitterblock"> |
|
| 207 |
+ <img src="https://si0.twimg.com/profile_images/780893320/My_Avatar_bigger.jpg"> |
|
| 208 |
+ <em>Ricardo Gladwell @rgladwell:</em> wow @getdocker is either amazing or totally stupid |
|
| 209 |
+ </section> |
|
| 210 |
+ </div> |
|
| 211 |
+ |
|
| 212 |
+ </div> |
|
| 213 |
+</div> |
|
| 214 |
+ |
|
| 215 |
+<div class="container"> |
|
| 216 |
+ <div class="row"> |
|
| 217 |
+ <div class="span6"> |
|
| 218 |
+ |
|
| 219 |
+ <section class="contentblock"> |
|
| 220 |
+ |
|
| 221 |
+ <h2>Notable features</h2> |
|
| 222 |
+ |
|
| 223 |
+ <ul> |
|
| 224 |
+ <li>Filesystem isolation: each process container runs in a completely separate root filesystem.</li> |
|
| 225 |
+ <li>Resource isolation: system resources like cpu and memory can be allocated differently to each process container, using cgroups.</li> |
|
| 226 |
+ <li>Network isolation: each process container runs in its own network namespace, with a virtual interface and IP address of its own.</li> |
|
| 227 |
+ <li>Copy-on-write: root filesystems are created using copy-on-write, which makes deployment extremeley fast, memory-cheap and disk-cheap.</li> |
|
| 228 |
+ <li>Logging: the standard streams (stdout/stderr/stdin) of each process container is collected and logged for real-time or batch retrieval.</li> |
|
| 229 |
+ <li>Change management: changes to a container's filesystem can be committed into a new image and re-used to create more containers. No templating or manual configuration required.</li> |
|
| 230 |
+ <li>Interactive shell: docker can allocate a pseudo-tty and attach to the standard input of any container, for example to run a throwaway interactive shell.</li> |
|
| 231 |
+ </ul> |
|
| 232 |
+ |
|
| 233 |
+ <h2>Under the hood</h2> |
|
| 234 |
+ |
|
| 235 |
+ <p>Under the hood, Docker is built on the following components:</p> |
|
| 236 |
+ |
|
| 237 |
+ <ul> |
|
| 238 |
+ <li>The <a href="http://blog.dotcloud.com/kernel-secrets-from-the-paas-garage-part-24-c">cgroup</a> and <a href="http://blog.dotcloud.com/under-the-hood-linux-kernels-on-dotcloud-part">namespacing</a> capabilities of the Linux kernel;</li> |
|
| 239 |
+ <li><a href="http://aufs.sourceforge.net/aufs.html">AUFS</a>, a powerful union filesystem with copy-on-write capabilities;</li> |
|
| 240 |
+ <li>The <a href="http://golang.org">Go</a> programming language;</li> |
|
| 241 |
+ <li><a href="http://lxc.sourceforge.net/">lxc</a>, a set of convenience scripts to simplify the creation of linux containers.</li> |
|
| 242 |
+ </ul> |
|
| 243 |
+ |
|
| 244 |
+ <h2>Who started it</h2> |
|
| 245 |
+ <p> |
|
| 246 |
+ Docker is an open-source implementation of the deployment engine which powers <a href="http://dotcloud.com">dotCloud</a>, a popular Platform-as-a-Service.</p> |
|
| 247 |
+ |
|
| 248 |
+ <p>It benefits directly from the experience accumulated over several years of large-scale operation and support of hundreds of thousands |
|
| 249 |
+ of applications and databases. |
|
| 250 |
+ </p> |
|
| 251 |
+ |
|
| 252 |
+ </section> |
|
| 253 |
+ </div> |
|
| 254 |
+ |
|
| 255 |
+ <div class="span6"> |
|
| 256 |
+ |
|
| 257 |
+ |
|
| 258 |
+ <section class="contentblock"> |
|
| 259 |
+ <h3 id="twitter">Twitter</h3> |
|
| 260 |
+ <a class="twitter-timeline" href="https://twitter.com/getdocker" data-widget-id="312730839718957056">Tweets by @getdocker</a> |
|
| 261 |
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
|
| 262 |
+ </section> |
|
| 263 |
+ |
|
| 264 |
+ </div> |
|
| 265 |
+ </div> |
|
| 266 |
+ |
|
| 267 |
+</div> <!-- end container --> |
|
| 268 |
+ |
|
| 269 |
+ |
|
| 270 |
+<div class="container"> |
|
| 271 |
+ <footer id="footer" class="footer"> |
|
| 272 |
+ <div class="row"> |
|
| 273 |
+ <div class="span12"> |
|
| 274 |
+ |
|
| 275 |
+ Docker is a project by <a href="http://www.dotcloud.com">dotCloud</a> |
|
| 276 |
+ |
|
| 277 |
+ </div> |
|
| 278 |
+ </div> |
|
| 279 |
+ |
|
| 280 |
+ <div class="row"> |
|
| 281 |
+ <div class="emptyspace" style="height: 40px"> |
|
| 282 |
+ |
|
| 283 |
+ </div> |
|
| 284 |
+ </div> |
|
| 285 |
+ |
|
| 286 |
+ </footer> |
|
| 287 |
+</div> |
|
| 288 |
+ |
|
| 289 |
+ |
|
| 290 |
+ |
|
| 291 |
+<!-- bootstrap javascipts --> |
|
| 292 |
+<script src="static/js/vendor/bootstrap.min.js" type="text/javascript"></script> |
|
| 293 |
+ |
|
| 294 |
+<!-- Google analytics --> |
|
| 295 |
+<script type="text/javascript"> |
|
| 296 |
+ |
|
| 297 |
+ var _gaq = _gaq || []; |
|
| 298 |
+ _gaq.push(['_setAccount', 'UA-6096819-11']); |
|
| 299 |
+ _gaq.push(['_setDomainName', 'docker.io']); |
|
| 300 |
+ _gaq.push(['_setAllowLinker', true]); |
|
| 301 |
+ _gaq.push(['_trackPageview']); |
|
| 302 |
+ |
|
| 303 |
+ (function() {
|
|
| 304 |
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
| 305 |
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
| 306 |
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
| 307 |
+ })(); |
|
| 308 |
+ |
|
| 309 |
+</script> |
|
| 310 |
+ |
|
| 311 |
+ |
|
| 312 |
+</body> |
|
| 313 |
+</html> |
| 0 | 314 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,6 @@ |
| 0 |
+ |
|
| 1 |
+# rule to redirect original links created when hosted on github pages |
|
| 2 |
+rewrite ^/documentation/(.*).html http://docs.docker.io/en/latest/$1/ permanent; |
|
| 3 |
+ |
|
| 4 |
+# rewrite the stuff which was on the current page |
|
| 5 |
+rewrite ^/gettingstarted.html$ /gettingstarted/ permanent; |