{% if page.path contains "index.md" %} {% capture basehref %}{{ page.url }}{% endcapture %} {% else %} {% assign crumbs = page.url | split: '/' %} {% assign stoppingpoint = crumbs | size | minus: 1 %} {% for crumb in crumbs %} {% if forloop.index == stoppingpoint %} {% capture basehref %}{{basehref}}{{ crumb }}/{% endcapture %} {% break %} {% else %} {% capture basehref %}{{basehref}}{{ crumb }}/{% endcapture %} {% endif %} {% endfor %} {% endif %} {% assign edit_url = "https://github.com/docker/docker.github.io/edit/master/" | append: page.path %} {% for entry in site.data.not_edited_here.overrides %} {% if page.path contains entry.path %} {% if entry.source %} {% assign edit_url = entry.source %} {% else %} {% assign edit_url = "" %} {% endif %} {% break %} {% endif %} {% endfor %} {% if site.GH_ENV == "gh_pages" %} {% endif %} {{ page.title }} | Docker Documentation {% if page.hide_from_sitemap %}{% endif %}
{% if page.landing == true %}{% include global-header.html %}{% endif %} {% if page.landing != true %}{% include header.html %}{% endif %}
{% if page.url == '/' %}

{{ site.name }}

{% else %} {% if page.title %}

{{ page.title }}

{% endif %} {% if page.advisory %}
{{ site.data.advisories.texts[page.advisory] | markdownify }}
{% endif %}{% endif %} {% unless page.tree == false %}{% include read_time.html %}{% endunless %} {% if page.enterprise %}{% include ee_dropdown.html %}{% endif %} {% if page.ui_tabs or page.cli_tabs or page.api_tabs %}{% capture content %} {% if page.intro %}{{ page.intro | markdownify }}{% else %}{{ page.description | markdownify }}{% endif %} {% if page.ui_tabs %}
{% for tab in page.ui_tabs %}
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version ui="true" %}{% endcapture %}{{ thistab | split: "---" | shift:2 | join: "---" | markdownify }}
{% endfor %}
{% endif %} {% if page.cli_tabs %}
{% for tab in page.cli_tabs %}
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version cli="true" %}{% endcapture %}{{ thistab | split: "---" | shift:2 | join: "---" | markdownify }}
{% endfor %}
{% endif %} {% if page.api_tabs %}
{% for tab in page.api_tabs %}
{% capture thistab %}{% include_relative {{ page.path | split: "/" | last }} version=tab.version api="true" %}{% endcapture %}{{ thistab | split: "---" | shift:2 | join: "---" | markdownify }}
{% endfor %}
{% endif %} {% if page.next_steps %}

Next steps

{% endif %} {% endcapture %} {% endif %} {{ content }} {% unless page.notags == true %} {% assign keywords = page.keywords | split:"," %} {% for keyword in keywords %}{% assign strippedKeyword = keyword | strip %} {% capture keywordlist %}{{ keywordlist }}{{strippedKeyword}}{% unless forloop.last %}, {% endunless %}{% endcapture %} {% endfor %} {% if keywordlist.size > 0 %}{{ keywordlist }}{% endif %} {% endunless %} {% if page.noratings != true %} {% endif %}
{% if page.path == "404.md" %} {% endif %} {% if page.highlightjs == true %} {% endif %}