2013-03-25 22:52:52 -04:00
<!DOCTYPE html>
<!-- [if lt IE 7]> <html class="no - js lt - ie9 lt - ie8 lt - ie7"> <![endif] -->
<!-- [if IE 7]> <html class="no - js lt - ie9 lt - ie8"> <![endif] -->
<!-- [if IE 8]> <html class="no - js lt - ie9"> <![endif] -->
<!-- [if gt IE 8]><! -->
2013-03-26 11:50:34 -04:00
< html class = "no-js" xmlns = "http://www.w3.org/1999/html" xmlns = "http://www.w3.org/1999/html" > <!-- <![endif] -->
2013-03-25 22:52:52 -04:00
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
< title > Docker - the Linux container runtime< / title >
< meta name = "description" content = "Docker encapsulates heterogeneous payloads in standard containers" >
< meta name = "viewport" content = "width=device-width" >
<!-- twitter bootstrap -->
2013-05-08 20:05:46 -04:00
< link rel = "stylesheet" href = "../static/css/bootstrap.min.css" >
< link rel = "stylesheet" href = "../static/css/bootstrap-responsive.min.css" >
2013-03-25 22:52:52 -04:00
<!-- main style file -->
2013-05-08 20:05:46 -04:00
< link rel = "stylesheet" href = "../static/css/main.css" >
2013-03-25 22:52:52 -04:00
<!-- vendor scripts -->
2013-05-08 20:05:46 -04:00
< script src = "../static/js/vendor/jquery-1.9.1.min.js" type = "text/javascript" > < / script >
< script src = "../static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js" type = "text/javascript" > < / script >
2013-03-25 22:52:52 -04:00
< / head >
< body >
< div class = "navbar navbar-fixed-top" >
< div class = "navbar-dotcloud" >
< div class = "container" style = "text-align: center;" >
< div style = "float: right" class = "pull-right" >
< ul class = "nav" >
2013-03-27 20:01:50 -04:00
< li > < a href = "../" > Introduction< / a > < / li >
2013-05-08 20:05:46 -04:00
< li class = "active" > < a href = "" > Getting started< / a > < / li >
< li class = "" > < a href = "http://docs.docker.io/en/latest/concepts/introduction/" > Documentation< / a > < / li >
2013-03-25 22:52:52 -04:00
< / ul >
< div class = "social links" style = "float: right; margin-top: 14px; margin-left: 12px" >
< a class = "twitter" href = "http://twitter.com/getdocker" > Twitter< / a >
< a class = "github" href = "https://github.com/dotcloud/docker/" > GitHub< / a >
< / div >
< / div >
< div style = "margin-left: -12px; float: left;" >
2013-05-08 20:05:46 -04:00
< a href = "../index.html" > < img style = "margin-top: 12px; height: 38px" src = "../static/img/docker-letters-logo.gif" > < / a >
2013-03-25 22:52:52 -04:00
< / div >
< / div >
< / div >
< / div >
< div class = "container" >
< div class = "row" >
< div class = "span12 titlebar" > < h1 class = "pageheader" > GETTING STARTED< / h1 >
< / div >
< / div >
< / div >
< div class = "container" >
2013-03-26 14:58:42 -04:00
< div class = "alert alert-info" >
2013-03-28 22:03:06 -04:00
< 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.
2013-03-26 14:58:42 -04:00
< / div >
2013-03-25 22:52:52 -04:00
< div class = "row" >
< div class = "span6" >
< section class = "contentblock" >
< h2 >
2013-03-26 11:50:34 -04:00
< 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 >
2013-03-26 14:58:42 -04:00
< / a > Installing on Ubuntu< / h2 >
2013-04-23 15:04:53 -04:00
< p > < strong > Requirements< / strong > < / p >
2013-04-22 16:36:00 -04:00
< ul >
2013-04-23 15:04:53 -04:00
< li > Ubuntu 12.04 (LTS) (64-bit)< / li >
< li > or Ubuntu 12.10 (quantal) (64-bit)< / li >
2013-04-22 16:36:00 -04:00
< / ul >
2013-03-25 22:52:52 -04:00
< ol >
< li >
2013-04-23 15:04:53 -04:00
< p > < strong > Install dependencies< / strong > < / p >
The linux-image-extra package is only needed on standard Ubuntu EC2 AMIs in order to install the aufs kernel module.
< pre > sudo apt-get install linux-image-extra-`uname -r`< / pre >
2013-03-25 22:52:52 -04:00
< / li >
< li >
2013-04-23 15:04:53 -04:00
< p > < strong > Install Docker< / strong > < / p >
< p > Add the Ubuntu PPA (Personal Package Archive) sources to your apt sources list, update and install.< / p >
< p > You may see some warnings that the GPG keys cannot be verified.< / p >
2013-03-25 22:52:52 -04:00
< div class = "highlight" >
2013-04-23 15:04:53 -04:00
< pre > sudo sh -c "echo 'deb http://ppa.launchpad.net/dotcloud/lxc-docker/ubuntu precise main' >> /etc/apt/sources.list"< / pre >
2013-04-22 16:36:00 -04:00
< pre > sudo apt-get update< / pre >
< pre > sudo apt-get install lxc-docker< / pre >
2013-03-25 22:52:52 -04:00
< / div >
2013-04-23 15:04:53 -04:00
2013-03-25 22:52:52 -04:00
< / li >
2013-04-22 16:36:00 -04:00
< li >
< p > < strong > Run!< / strong > < / p >
< div class = "highlight" >
2013-04-23 15:04:53 -04:00
< pre > docker run -i -t ubuntu /bin/bash< / pre >
2013-04-22 16:36:00 -04:00
< / div >
< / li >
2013-03-28 14:44:33 -04:00
Continue with the < a href = "http://docs.docker.io/en/latest/examples/hello_world/" > Hello world< / a > example.
2013-03-25 22:52:52 -04:00
< / ol >
< / section >
< section class = "contentblock" >
< h2 > Contributing to Docker< / h2 >
2013-03-28 14:44:33 -04:00
< 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 >
2013-03-25 22:52:52 -04:00
< / section >
< / div >
< div class = "span6" >
< section class = "contentblock" >
< h2 > Quick install on other operating systems< / h2 >
< p > < strong > For other operating systems we recommend and provide a streamlined install with virtualbox,
vagrant and an Ubuntu virtual machine.< / strong > < / p >
< ul >
2013-04-22 16:36:00 -04:00
< li > < a href = "http://docs.docker.io/en/latest/installation/vagrant/" > Mac OS X and other linuxes< / a > < / li >
2013-03-28 14:44:33 -04:00
< li > < a href = "http://docs.docker.io/en/latest/installation/windows/" > Windows< / a > < / li >
2013-03-25 22:52:52 -04:00
< / ul >
< / section >
< section class = "contentblock" >
< h2 > More resources< / h2 >
< ul >
< li > < a href = "irc://chat.freenode.net#docker" > IRC: docker on freenode< / a > < / li >
< li > < a href = "http://www.github.com/dotcloud/docker" > Github< / a > < / li >
< li > < a href = "http://stackoverflow.com/tags/docker/" > Ask questions on Stackoverflow< / a > < / li >
< li > < a href = "http://twitter.com/getdocker/" > Join the conversation on Twitter< / a > < / li >
< / ul >
< / section >
< section class = "contentblock" >
< div id = "wufoo-z7x3p3" >
Fill out my < a href = "http://dotclouddocker.wufoo.com/forms/z7x3p3" > online form< / a > .
< / div >
< script type = "text/javascript" > v a r z 7 x 3 p 3 ; ( f u n c t i o n ( d , t ) {
var s = d.createElement(t), options = {
'userName':'dotclouddocker',
'formHash':'z7x3p3',
'autoResize':true,
'height':'577',
'async':true,
'header':'show'};
s.src = ('https:' == d.location.protocol ? 'https://' : 'http://') + 'wufoo.com/scripts/embed/form.js';
s.onload = s.onreadystatechange = function() {
var rs = this.readyState; if (rs) if (rs != 'complete') if (rs != 'loaded') return;
try { z7x3p3 = new WufooForm();z7x3p3.initialize(options);z7x3p3.display(); } catch (e) {}};
var scr = d.getElementsByTagName(t)[0], par = scr.parentNode; par.insertBefore(s, scr);
})(document, 'script');< / script >
< / section >
< / div >
< / div >
< / div >
< div class = "container" >
< footer id = "footer" class = "footer" >
< div class = "row" >
< div class = "span12 social" >
Docker is a project by < a href = "http://www.dotcloud.com" > dotCloud< / a >
< / div >
< / div >
< div class = "row" >
< div class = "emptyspace" style = "height: 40px" >
< / div >
< / div >
< / footer >
< / div >
<!-- bootstrap javascipts -->
2013-05-08 20:05:46 -04:00
< script src = "../static/js/vendor/bootstrap.min.js" type = "text/javascript" > < / script >
2013-03-25 22:52:52 -04:00
<!-- Google analytics -->
< script type = "text/javascript" >
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6096819-11']);
_gaq.push(['_setDomainName', 'docker.io']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
< / script >
< / body >
< / html >