2013-03-25 22:52:52 -04:00
<!DOCTYPE html>
< head >
< meta charset = "utf-8" >
2013-09-24 22:47:25 -04:00
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" / >
2013-05-06 20:41:51 -04:00
< meta name = "google-site-verification" content = "UxV66EKuPe87dgnH1sbrldrx6VsoWMrx5NjwkgUFxXI" / >
2013-05-21 13:47:16 -04:00
< title > {{ meta['title'] if meta and meta['title'] else title }} - Docker Documentation< / title >
2013-03-25 22:52:52 -04:00
< meta name = "description" content = "{{ meta['description'] if meta }}" / >
< meta name = "keywords" content = "{{ meta['keywords'] if meta }}" / >
2013-10-07 20:51:07 -04:00
<!-- Swiftype tags: https://swiftype.com/documentation/meta_tags -->
< meta property = 'st:popularity' content = '4' / >
< meta property = 'st:type' content = 'docker_doc' / >
2013-03-25 22:52:52 -04:00
{%- set url_root = pathto('', 1) %}
{%- if url_root == '#' %}{% set url_root = '' %}{% endif %}
2013-10-21 05:30:18 -04:00
{%- if current_version == 'latest' %}
{% set github_tag = 'master' %}
{% else %}
{% set github_tag = current_version %}
{% endif %}
2013-03-25 22:52:52 -04:00
< script type = "text/javascript" >
2013-09-24 22:47:25 -04:00
// This is included here for Javascript that doesn't have access to the templates.
var doc_version = "{{ current_version }}";
var doc_slug = "{{ slug }}";
2013-03-25 22:52:52 -04:00
< / script >
{%- set css_files = css_files + ['_static/css/bootstrap.css'] %}
{%- set css_files = css_files + ['_static/pygments.css'] %}
{%- set css_files = css_files + ['_static/css/main.css'] %}
{%- set script_files =
2013-09-24 22:47:25 -04:00
['//code.jquery.com/jquery-1.10.1.min.js']
+ ['//fonts.googleapis.com/css?family=Cabin:400,700,400italic']
2013-03-25 22:52:52 -04:00
%}
2013-10-01 19:26:14 -04:00
{#
2013-11-23 16:21:27 -05:00
This part is hopefully complex because things like |cut '/index/' are not available in Sphinx jinja
2013-10-01 19:26:14 -04:00
and will make it crash. (and we need index/ out.
#}
< link rel = "canonical" href = "http://docs.docker.io/en/latest/
{%- for word in pagename.split('/') -%}
{%- if word != 'index' -%}
{%- if word != '' -%}
{{ word }}/
{%- endif -%}
{%- endif -%}
{%- endfor -%}
">
2013-03-25 22:52:52 -04:00
{%- for cssfile in css_files %}
< link rel = "stylesheet" href = "{{ pathto(cssfile, 1) }}" type = "text/css" / >
{%- endfor %}
{%- for scriptfile in script_files if scriptfile != '_static/jquery.js' %}
< script type = "text/javascript" src = "{{ pathto(scriptfile, 1) }}" > < / script >
{%- endfor %}
2013-06-17 23:16:56 -04:00
< link rel = "shortcut icon" href = "{{ pathto('_static/favicon.png', 1) }}" / >
2013-03-25 22:52:52 -04:00
{%- block extrahead %}{% endblock %}
< / head >
< body >
2013-09-24 22:47:25 -04:00
< div id = "wrap" >
< div class = "navbar navbar-static-top navbar-inner navbar-fixed-top " >
2013-03-25 22:52:52 -04:00
< div class = "navbar-dotcloud" >
2013-09-24 22:47:25 -04:00
< div class = "container" >
2013-03-25 22:52:52 -04:00
< div style = "float: right" class = "pull-right" >
< ul class = "nav" >
2013-07-23 16:05:06 -04:00
< li id = "nav-introduction" > < a href = "http://www.docker.io/" title = "Docker Homepage" > Home< / a > < / li >
< li id = "nav-about" > < a href = "http://www.docker.io/about/" title = "About" > About< / a > < / li >
2013-06-04 14:33:39 -04:00
< li id = "nav-gettingstarted" > < a href = "http://www.docker.io/gettingstarted/" > Getting started< / a > < / li >
2013-08-13 19:18:32 -04:00
< li id = "nav-community" > < a href = "http://www.docker.io/community/" title = "Community" > Community< / a > < / li >
2013-06-04 14:33:39 -04:00
< li id = "nav-documentation" class = "active" > < a href = "http://docs.docker.io/en/latest/" > Documentation< / a > < / li >
2013-07-23 16:05:06 -04:00
< li id = "nav-blog" > < a href = "http://blog.docker.io/" title = "Docker Blog" > Blog< / a > < / li >
2013-09-24 22:47:25 -04:00
< li id = "nav-index" > < a href = "http://index.docker.io/" title = "Docker Image Index, find images here" > INDEX < img class = "inline-icon" alt = "link to external site" src = "{{ pathto('_static/img/external-link-icon.png', 1) }}" title = "external link" > < / a > < / li >
2013-03-25 22:52:52 -04:00
< / ul >
< / div >
2013-09-24 22:47:25 -04:00
< div class = "brand-logo" >
< a href = "http://www.docker.io" title = "Docker Homepage" > < img src = "{{ pathto('_static/img/docker-top-logo.png', 1) }}" alt = "Docker logo" > < / a >
2013-03-25 22:52:52 -04:00
< / div >
< / div >
< / div >
< / div >
2013-12-15 22:24:35 -05:00
< div class = "container-fluid" >
2013-03-25 22:52:52 -04:00
<!-- Docs nav
================================================== -->
2013-12-15 22:24:35 -05:00
< div class = "row-fluid main-row" >
2013-03-25 22:52:52 -04:00
2013-12-16 17:37:56 -05:00
< div class = "sidebar bs-docs-sidebar" >
2013-09-24 22:47:25 -04:00
< div class = "page-title" >
< h4 > DOCUMENTATION< / h4 >
< / div >
2013-03-25 22:52:52 -04:00
{{ toctree(collapse=False, maxdepth=3) }}
2013-09-06 16:34:24 -04:00
< form >
2013-12-16 21:36:35 -05:00
< input type = "text" id = "st-search-input" class = "st-search-input span3" placeholder = "search in documentation" style = "width:210px;" / >
2013-09-24 22:47:25 -04:00
< div id = "st-results-container" > < / div >
2013-09-06 16:34:24 -04:00
< / form >
2013-03-25 22:52:52 -04:00
< / div >
<!-- body block -->
2013-12-16 17:37:56 -05:00
< div class = "main-content" >
2013-03-25 22:52:52 -04:00
<!-- Main section
================================================== -->
< section id = "global" class = "containerblock" >
{% block body %}{% endblock %}
< / section >
2013-10-21 05:30:18 -04:00
< div class = "pull-right" > < a href = "https://github.com/dotcloud/docker/blob/{{ github_tag }}/docs/sources/{{ pagename }}.rst" title = "edit this article" > Edit this article on GitHub< / a > < / div >
2013-03-25 22:52:52 -04:00
< / div >
< / div >
< / div >
2013-09-24 22:47:25 -04:00
< div id = "push-the-footer" > < / div >
< / div > <!-- end wrap for pushing footer -->
< div id = "footer" >
< div class = "footer-landscape" >
< div class = "footer-landscape-image" >
<!-- footer -->
< div class = "container" >
< div class = "row footer" >
< div class = "span12 tbox" >
< div class = "tbox" >
2013-11-13 19:09:23 -05:00
< p > Docker is an open source project, sponsored by < a href = "https://www.docker.com" > Docker Inc.< / a > , under the < a href = "https://github.com/dotcloud/docker/blob/master/LICENSE" title = "Docker licence, hosted in the Github repository" > apache 2.0 licence< / a > < / p >
< p > Documentation proudly hosted by < a href = "http://www.readthedocs.org" > Read the Docs< / a > < / p >
2013-09-24 22:47:25 -04:00
< / div >
< div class = "social links" >
2013-12-17 13:39:22 -05:00
< a title = "Docker on Twitter" class = "twitter" href = "http://twitter.com/docker" > Twitter< / a >
< a title = "Docker on GitHub" class = "github" href = "https://github.com/dotcloud/docker/" > GitHub< / a >
< a title = "Docker on Reddit" class = "reddit" href = "http://www.reddit.com/r/Docker/" > Reddit< / a >
< a title = "Docker on Google+" class = "googleplus" href = "https://plus.google.com/u/0/b/100381662757235514581/communities/108146856671494713993" > Google+< / a >
< a title = "Docker on Facebook" class = "facebook" href = "https://www.facebook.com/docker.run" > Facebook< / a >
< a title = "Docker on SlideShare" class = "slideshare" href = "http://www.slideshare.net/dotCloud" > Slideshare< / a >
< a title = "Docker on Youtube" class = "youtube" href = "http://www.youtube.com/user/dockerrun/" > Youtube< / a >
< a title = "Docker on Flickr" class = "flickr" href = "http://www.flickr.com/photos/99741659@N08/" > Flickr< / a >
< a title = "Docker on LinkedIn" class = "linkedin" href = "http://www.linkedin.com/company/dotcloud" > LinkedIn< / a >
2013-09-24 22:47:25 -04:00
< / div >
< div class = "tbox version-flyer " >
< div class = "content" >
2013-12-17 13:39:22 -05:00
< p class = "version-note" > Note: You are currently browsing the development documentation. The current release may work differently.< / p >
2013-12-16 21:36:35 -05:00
< small > Available versions:< / small >
2013-09-24 22:47:25 -04:00
< ul class = "inline" >
{% for slug, url in versions %}
2013-10-01 19:26:14 -04:00
< li class = "alternative" > < a href = "{{ url } } { % - for word in pagename . split ( ' / ' ) - % }
{%- if word != 'index' -%}
{%- if word != '' -%}
{{ word }}/
{%- endif -%}
{%- endif -%}
{%- endfor -%}"
title="Switch to {{ slug }}">{{ slug }}< / a > < / li >
2013-09-24 22:47:25 -04:00
{% endfor %}
< / ul >
< / div >
< / div >
< / div >
< / div >
2013-06-04 14:33:39 -04:00
< / div >
2013-03-25 22:52:52 -04:00
< / div >
2013-09-24 22:47:25 -04:00
<!-- end of footer -->
2013-03-25 22:52:52 -04:00
< / div >
2013-12-16 21:36:35 -05:00
2013-03-25 22:52:52 -04:00
< / div >
2013-09-24 22:47:25 -04:00
< script type = "text/javascript" src = "{{ pathto('_static/js/docs.js', 1) }}" > < / script >
<!-- Swiftype search -->
2013-03-25 22:52:52 -04:00
2013-09-24 22:47:25 -04:00
< script type = "text/javascript" >
var Swiftype = window.Swiftype || {};
(function() {
Swiftype.key = 'pWPnnyvwcfpcrw1o51Sz';
Swiftype.inputElement = '#st-search-input';
Swiftype.resultContainingElement = '#st-results-container';
Swiftype.attachElement = '#st-search-input';
Swiftype.renderStyle = "overlay";
2013-10-09 15:22:14 -04:00
// from https://swiftype.com/questions/how-can-i-make-more-popular-content-rank-higher
// Use "page" for now -- they don't subgroup by document type yet.
2013-10-07 20:51:07 -04:00
Swiftype.searchFunctionalBoosts = {"page": {"popularity": "linear"}};
2013-09-24 22:47:25 -04:00
var script = document.createElement('script');
script.type = 'text/javascript';
script.async = true;
script.src = "//swiftype.com/embed.js";
var entry = document.getElementsByTagName('script')[0];
entry.parentNode.insertBefore(script, entry);
}());
2013-05-15 23:00:20 -04:00
< / script >
2013-03-25 22:52:52 -04:00
2013-09-24 22:47:25 -04:00
<!-- Google analytics -->
< script type = "text/javascript" >
2013-03-25 22:52:52 -04:00
2013-09-24 22:47:25 -04:00
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6096819-11']);
_gaq.push(['_setDomainName', 'docker.io']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
2013-03-25 22:52:52 -04:00
2013-09-24 22:47:25 -04:00
(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 >
2013-03-25 22:52:52 -04:00
< / body >
< / html >