remove most of absolute urls

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-08-03 11:50:28 +02:00
parent dfa7fc3b8e
commit 09c9f51bcf
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
48 changed files with 145 additions and 135 deletions

3
404.md
View File

@ -15,8 +15,7 @@ occurred, if applicable.
[**Click here to create a new ticket**](https://github.com/docker/docker.github.io/issues/new){:.newissue.button.primary-btn} [**Click here to create a new ticket**](https://github.com/docker/docker.github.io/issues/new){:.newissue.button.primary-btn}
[![404 page not found](/images/404-docs.png)](/ "Go to the homepage")
[![404 page not found](/images/404-docs.png)](https://docs.docker.com/ "Go to the homepage")
<script> <script>
let el = document.querySelector("a.newissue"); let el = document.querySelector("a.newissue");

View File

@ -55,7 +55,7 @@ your client and daemon API versions.
> This command is experimental. > This command is experimental.
> >
> [Experimental features](https://docs.docker.com/engine/reference/commandline/cli/#experimental-features) > [Experimental features](/engine/reference/commandline/cli/#experimental-features)
> are intended for testing and feedback as their functionality or UX may change > are intended for testing and feedback as their functionality or UX may change
> between releases without warning or can be removed entirely in a future release. > between releases without warning or can be removed entirely in a future release.
{: .important } {: .important }

View File

@ -40,7 +40,7 @@
<ul class="footer_links"> <ul class="footer_links">
<li><b><a href="https://www.docker.com/products/docker-desktop" target="_blank" rel="noopener">Developers</a></b></li> <li><b><a href="https://www.docker.com/products/docker-desktop" target="_blank" rel="noopener">Developers</a></b></li>
<li><a href="https://www.docker.com/use-cases" target="_blank" rel="noopener">Use Cases</a></li> <li><a href="https://www.docker.com/use-cases" target="_blank" rel="noopener">Use Cases</a></li>
<li><a href="https://docs.docker.com/get-started/" target="_blank" rel="noopener">Get Started</a></li> <li><a href="/get-started/" target="_blank" rel="noopener">Get Started</a></li>
<li><a href="https://www.docker.com/blog/" target="_blank" rel="noopener">Blog</a></li> <li><a href="https://www.docker.com/blog/" target="_blank" rel="noopener">Blog</a></li>
<li><a href="https://www.docker.com/docker-community" target="_blank" rel="noopener">Community</a></li> <li><a href="https://www.docker.com/docker-community" target="_blank" rel="noopener">Community</a></li>
<li><a href="https://www.docker.com/open-source" target="_blank" rel="noopener">Open Source</a></li> <li><a href="https://www.docker.com/open-source" target="_blank" rel="noopener">Open Source</a></li>

View File

@ -24,10 +24,6 @@
{%- assign page_description = content | strip_html | strip | truncatewords: 30 -%} {%- assign page_description = content | strip_html | strip | truncatewords: 30 -%}
{%- endif -%} {%- endif -%}
{%- endif -%} {%- endif -%}
{%- assign domain_name = 'https://docs.docker.com' -%}
{%- if jekyll.environment == 'development' -%}
{%- assign domain_name = 'https://localhost:4000' -%}
{%- endif -%}
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
{%- if page.sitemap == false or jekyll.environment != 'production' %} {%- if page.sitemap == false or jekyll.environment != 'production' %}
@ -37,7 +33,7 @@
<title>{{ page.title | default: page_title }} | Docker Documentation</title> <title>{{ page.title | default: page_title }} | Docker Documentation</title>
<meta name="description" content="{{ page.description | default: page_description | escape}}" /> <meta name="description" content="{{ page.description | default: page_description | escape}}" />
<meta name="keywords" content="{{ page.keywords | default: 'docker, docker open source, docker platform, distributed applications, microservices, containers, docker containers, docker software, docker virtualization' }}"> <meta name="keywords" content="{{ page.keywords | default: 'docker, docker open source, docker platform, distributed applications, microservices, containers, docker containers, docker software, docker virtualization' }}">
<link rel="canonical" href="{{ domain_name }}{{ page.url }}" /> <link rel="canonical" href="{{ site.docs_url }}{{ page.url }}" />
<!-- favicon --> <!-- favicon -->
<link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128"> <link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128">
@ -96,20 +92,20 @@
<meta name="twitter:title" itemprop="title name" content="{{ page.title | default: page_title }}"/> <meta name="twitter:title" itemprop="title name" content="{{ page.title | default: page_title }}"/>
<meta name="twitter:description" property="og:description" itemprop="description" content="{{ page_description | escape_once }}" /> <meta name="twitter:description" property="og:description" itemprop="description" content="{{ page_description | escape_once }}" />
<meta name="twitter:card" content="summary_large_image"/> <meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:domain" content="docs.docker.com"/> <meta name="twitter:domain" content="{{ site.docs_url | replace_first: 'http://', '' | replace_first: 'https://', '' }}"/>
<meta name="twitter:site" content="@docker_docs"/> <meta name="twitter:site" content="@docker_docs"/>
<meta name="twitter:url" content="https://twitter.com/docker_docs"/> <meta name="twitter:url" content="https://twitter.com/docker_docs"/>
<meta name="twitter:image:src" content="https://docs.docker.com/images/docs@2x.png"/> <meta name="twitter:image:src" content="{{ site.docs_url }}/images/docs@2x.png"/>
<meta name="twitter:image:alt" content="Docker Documentation"/> <meta name="twitter:image:alt" content="Docker Documentation"/>
<meta property="og:title" content="{{ page.title | default: page_title }}" /> <meta property="og:title" content="{{ page.title | default: page_title }}" />
<meta property="og:description" content="{{ page.description | default: page_description | escape_once }}" /> <meta property="og:description" content="{{ page.description | default: page_description | escape_once }}" />
<meta property="og:type" content="website"/> <meta property="og:type" content="website"/>
<meta property="og:updated_time" itemprop="dateUpdated" content="{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}"/> <meta property="og:updated_time" itemprop="dateUpdated" content="{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}"/>
<meta property="og:image" itemprop="image primaryImageOfPage" content="https://docs.docker.com/images/docs@2x.png"/> <meta property="og:image" itemprop="image primaryImageOfPage" content="{{ site.docs_url }}/images/docs@2x.png"/>
<meta property="og:locale" content="en_US" /> <meta property="og:locale" content="en_US" />
<meta property="og:url" content="https://docs.docker.com{{ page.url }}" /> <meta property="og:url" content="{{ site.docs_url }}{{ page.url }}" />
<meta property="og:site_name" content="Docker Documentation" /> <meta property="og:site_name" content="Docker Documentation" />
<meta property="article:published_time" itemprop="datePublished" content="{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}"/> <meta property="article:published_time" itemprop="datePublished" content="{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}"/>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","headline":{{ page.title | default: page_title | jsonify }},"description":{{ page.description | default: page_description | jsonify }},"url":"https://docs.docker.com{{ page.url }}"}</script> <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebPage","headline":{{ page.title | default: page_title | jsonify }},"description":{{ page.description | default: page_description | jsonify }},"url":"{{ site.docs_url }}{{ page.url }}"}</script>
<!-- END SEO STUFF --> <!-- END SEO STUFF -->
</head> </head>

View File

@ -10,7 +10,7 @@
</h5> </h5>
</div> </div>
<div class="col-xs-12 col-md-6 col-lg-4 text-center"> <div class="col-xs-12 col-md-6 col-lg-4 text-center">
<a class="btn" href="https://docs.docker.com/desktop/dev-environments/" target="_blank" rel="noopener"> <a class="btn" href="/desktop/dev-environments/" target="_blank" rel="noopener">
Check out the details Check out the details
</a> </a>
</div> </div>

View File

@ -10,7 +10,7 @@
</h5> </h5>
</div> </div>
<div class="col-xs-12 col-md-6 col-lg-4 text-center"> <div class="col-xs-12 col-md-6 col-lg-4 text-center">
<a class="btn" href="https://docs.docker.com/subscription/" target="_blank" rel="noopener"> <a class="btn" href="/subscription/" target="_blank" rel="noopener">
Learn more Learn more
</a> </a>
</div> </div>

View File

@ -11,7 +11,7 @@
<img src="/images/extensions.PNG" alt="extensions" /> <img src="/images/extensions.PNG" alt="extensions" />
</div> </div>
<div class="col-xs-12 col-md-6 col-lg-4 text-center"> <div class="col-xs-12 col-md-6 col-lg-4 text-center">
<a class="btn" href="https://docs.docker.com/desktop/extensions-sdk/" target="_blank"> <a class="btn" href="/desktop/extensions-sdk/" target="_blank">
Start building Start building
</a> </a>
</div> </div>

View File

@ -10,7 +10,7 @@
</h5> </h5>
</div> </div>
<div class="col-xs-12 col-md-6 col-lg-4 text-center"> <div class="col-xs-12 col-md-6 col-lg-4 text-center">
<a class="btn" href="https://docs.docker.com/desktop/dashboard/#explore-volumes" target="_blank" rel="noopener"> <a class="btn" href="/desktop/dashboard/#explore-volumes" target="_blank" rel="noopener">
Learn more Learn more
</a> </a>
</div> </div>

View File

@ -6,9 +6,9 @@ layout: docs
<body> <body>
<h1>{{ page.prod_title }}</h1> <h1>{{ page.prod_title }}</h1>
<p>You are viewing an archive branch of the <p>You are viewing an archive branch of the
<a href="https://docs.docker.com/">Docker documentation</a>, but <a href="/">Docker documentation</a>, but
{{ prod_title }} documentation is not published in the current archive. {{ prod_title }} documentation is not published in the current archive.
<a href="https://docs.docker.com/{{ page.prod_url }}/" target="_blank" rel="noopener">Go to https://docs.docker.com/{{ page.prod_url }}/</a> <a href="/{{ page.prod_url }}/" target="_blank" rel="noopener">Go to {{ site.docs_url }}/{{ page.prod_url }}/</a>
in a new tab.</p> in a new tab.</p>
</body> </body>
</html> </html>

View File

@ -8,7 +8,7 @@
{%- if page.issue_url -%} {%- if page.issue_url -%}
{%- assign issue_url = page.issue_url -%} {%- assign issue_url = page.issue_url -%}
{%- else -%} {%- else -%}
{%- assign issue_url = "https://github.com/docker/docker.github.io/issues/new?body=File: [" | append: page.path | append: "](https://docs.docker.com" | append: page.url | append: ")" -%} {%- assign issue_url = "https://github.com/docker/docker.github.io/issues/new?body=File: [" | append: page.path | append: "](" | append: site.docs_url | append: page.url | append: ")" -%}
{%- endif -%} --> {%- endif -%} -->
<html lang="en"> <html lang="en">
{%- include head.html -%} {%- include head.html -%}

View File

@ -13,7 +13,7 @@
<link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128" /> <link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128" />
<link rel="stylesheet" type="text/css" href="/css/api-reference.css" /> <link rel="stylesheet" type="text/css" href="/css/api-reference.css" />
<!-- make the latest API version the canonical page as that's what we want users to be using mostly --> <!-- make the latest API version the canonical page as that's what we want users to be using mostly -->
<link rel="canonical" href="https://docs.docker.com/engine/api/v{{ site.latest_engine_api_version }}/" /> <link rel="canonical" href="{{ site.docs_url }}/engine/api/v{{ site.latest_engine_api_version }}/" />
</head> </head>
<body> <body>
<redoc spec-url="/engine/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc> <redoc spec-url="/engine/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc>

View File

@ -13,7 +13,7 @@
<link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128" /> <link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128" />
<link rel="stylesheet" type="text/css" href="/css/api-reference.css" /> <link rel="stylesheet" type="text/css" href="/css/api-reference.css" />
<!-- make the latest API version the canonical page as that's what we want users to be using mostly --> <!-- make the latest API version the canonical page as that's what we want users to be using mostly -->
<link rel="canonical" href="https://docs.docker.com/docker-hub/api/latest/" /> <link rel="canonical" href="{{ site.docs_url }}/docker-hub/api/latest/" />
</head> </head>
<body> <body>
<redoc spec-url="/docker-hub/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="false" suppress-warnings="false" class="hub-api"></redoc> <redoc spec-url="/docker-hub/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="false" suppress-warnings="false" class="hub-api"></redoc>

View File

@ -2,15 +2,14 @@
<html lang="en-US"> <html lang="en-US">
<meta charset="utf-8"> <meta charset="utf-8">
<title>Redirecting&hellip;</title> <title>Redirecting&hellip;</title>
{%- assign redirect_to = page.redirect.to | remove_first: 'https://docs.docker.com' | remove_first: 'http://docs.docker.com' %} {%- if page.redirect.to contains "://" %}
{%- if redirect_to contains "://" %} <link rel="canonical" href="{{ page.redirect.to }}">
<link rel="canonical" href="{{ redirect_to }}">
{%- else %} {%- else %}
<link rel="canonical" href="https://docs.docker.com{{ redirect_to }}"> <link rel="canonical" href="{{ site.docs_url }}{{ page.redirect.to }}">
{%- endif %} {%- endif %}
<meta http-equiv="refresh" content="0; url={{ redirect_to }}"> <meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
<meta name="robots" content="noindex"> <meta name="robots" content="noindex">
<h1>Redirecting&hellip;</h1> <h1>Redirecting&hellip;</h1>
<a href="{{ redirect_to }}">Click here if you are not redirected.</a> <a href="{{ page.redirect.to }}">Click here if you are not redirected.</a>
<script>location="{{ redirect_to }}"</script> <script>location="{{ page.redirect.to }}"</script>
</html> </html>

12
_plugins/config.rb Normal file
View File

@ -0,0 +1,12 @@
require_relative 'util.rb'
module Jekyll
class ConfigGenerator < Generator
safe true
priority :highest
def generate(site)
site.config['docs_url'] = get_docs_url
end
end
end

View File

@ -6,6 +6,8 @@ require 'octopress-hooks'
require 'open-uri' require 'open-uri'
require 'rake' require 'rake'
require_relative 'util.rb'
module Jekyll module Jekyll
class FetchRemote < Octopress::Hooks::Site class FetchRemote < Octopress::Hooks::Site
priority :highest priority :highest
@ -104,7 +106,7 @@ module Jekyll
next unless File.file?(ent.path) && File.extname(ent.path) == ".md" next unless File.file?(ent.path) && File.extname(ent.path) == ".md"
# set edit and issue url and remote info for markdown files in site config defaults # set edit and issue url and remote info for markdown files in site config defaults
edit_url = "#{entry['repo']}/edit/#{entry['default_branch']}/#{file_clean}" edit_url = "#{entry['repo']}/edit/#{entry['default_branch']}/#{file_clean}"
issue_url = "#{entry['repo']}/issues/new?body=File: [#{file_clean}](https://docs.docker.com/#{destent.path.sub(/#{File.extname(destent.path)}$/, '')}/)" issue_url = "#{entry['repo']}/issues/new?body=File: [#{file_clean}](#{get_docs_url}/#{destent.path.sub(/#{File.extname(destent.path)}$/, '')}/)"
puts " edit_url: #{edit_url}" puts " edit_url: #{edit_url}"
puts " issue_url: #{issue_url}" puts " issue_url: #{issue_url}"
site.config['defaults'] << { site.config['defaults'] << {

View File

@ -9,12 +9,16 @@ module Jekyll
beginning_time = Time.now beginning_time = Time.now
Jekyll.logger.info "Starting plugin fix_swagger.rb..." Jekyll.logger.info "Starting plugin fix_swagger.rb..."
# TODO: use dynamic URL from util.get_docs_url instead of hardcoded one
# but needs to remove first all absolute URLs in our code base.
docs_url = "https://docs.docker.com"
files = Dir.glob(%w[./docker-hub/api/*.yaml ./engine/api/*.yaml]) files = Dir.glob(%w[./docker-hub/api/*.yaml ./engine/api/*.yaml])
Jekyll.logger.info " Fixing up #{files.size} swagger file(s)..." Jekyll.logger.info " Fixing up #{files.size} swagger file(s)..."
files.each do |f| files.each do |f|
Jekyll.logger.info " #{f}" Jekyll.logger.info " #{f}"
text = File.read(f) text = File.read(f)
replace = text.gsub(get_docs_url, "") replace = text.gsub(docs_url, "")
File.open(f, "w") { |f2| f2.puts replace } File.open(f, "w") { |f2| f2.puts replace }
end end

View File

@ -13,8 +13,7 @@ module Jekyll
# but needs to remove first all absolute URLs in our code base. # but needs to remove first all absolute URLs in our code base.
docs_url = "https://docs.docker.com" docs_url = "https://docs.docker.com"
dest = site.config['destination'] || '_site' files = Dir.glob("#{site.dest}/**/*.html")
files = Dir.glob("#{dest}/**/*.html")
Jekyll.logger.info " Fixing up URLs in #{files.size} html file(s) to be relative" Jekyll.logger.info " Fixing up URLs in #{files.size} html file(s) to be relative"
files.each do|f| files.each do|f|
text = File.read(f) text = File.read(f)

View File

@ -301,5 +301,5 @@ build:
## Implementations ## Implementations
* [docker-compose](https://docs.docker.com/compose) * [docker-compose](../../compose/index.md)
* [buildx bake](../../build/bake/index.md) * [buildx bake](../../build/bake/index.md)

View File

@ -433,7 +433,7 @@ cgroup_parent: m-executor-abcd
command: bundle exec thin -p 3000 command: bundle exec thin -p 3000
``` ```
The command can also be a list, in a manner similar to [Dockerfile](https://docs.docker.com/engine/reference/builder/#cmd): The command can also be a list, in a manner similar to [Dockerfile](../../engine/reference/builder.md#cmd):
``` ```
command: [ "bundle", "exec", "thin", "-p", "3000" ] command: [ "bundle", "exec", "thin", "-p", "3000" ]
@ -737,7 +737,7 @@ entrypoint: /code/entrypoint.sh
``` ```
The entrypoint can also be a list, in a manner similar to The entrypoint can also be a list, in a manner similar to
[Dockerfile](https://docs.docker.com/engine/reference/builder/#cmd): [Dockerfile](../../engine/reference/builder.md#cmd):
```yml ```yml
entrypoint: entrypoint:
@ -1082,7 +1082,7 @@ been the case if `group_add` were not declared.
`healthcheck` declares a check that's run to determine whether or not containers for this `healthcheck` declares a check that's run to determine whether or not containers for this
service are "healthy". This overrides service are "healthy". This overrides
[HEALTHCHECK Dockerfile instruction](https://docs.docker.com/engine/reference/builder/#healthcheck) [HEALTHCHECK Dockerfile instruction](../../engine/reference/builder.md#healthcheck)
set by the service's Docker image. set by the service's Docker image.
```yml ```yml
@ -1756,7 +1756,7 @@ sysctls:
You can only use sysctls that are namespaced in the kernel. Docker does not You can only use sysctls that are namespaced in the kernel. Docker does not
support changing sysctls inside a container that also modify the host system. support changing sysctls inside a container that also modify the host system.
For an overview of supported sysctls, refer to [configure namespaced kernel For an overview of supported sysctls, refer to [configure namespaced kernel
parameters (sysctls) at runtime](https://docs.docker.com/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime). parameters (sysctls) at runtime](/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime).
### tmpfs ### tmpfs

View File

@ -2205,8 +2205,8 @@ naming scheme accordingly before upgrading.
You don't have to use it - your existing Compose files will run on Compose You don't have to use it - your existing Compose files will run on Compose
1.6 exactly as they do today. 1.6 exactly as they do today.
Check the upgrade guide for full details: Check the [upgrade guide](../compose/compose-file/compose-versioning.md#upgrading)
https://docs.docker.com/compose/compose-file#upgrading for full details.
- Support for networking has exited experimental status and is the recommended - Support for networking has exited experimental status and is the recommended
way to enable communication between containers. way to enable communication between containers.
@ -2217,8 +2217,7 @@ naming scheme accordingly before upgrading.
By default, you don't have to configure any networks. In fact, using By default, you don't have to configure any networks. In fact, using
networking with Compose involves even less configuration than using links. networking with Compose involves even less configuration than using links.
Consult the networking guide for how to use it: Consult the [networking guide](../compose/networking.md) for how to use it.
https://docs.docker.com/compose/networking
The experimental flags `--x-networking` and `--x-network-driver`, introduced The experimental flags `--x-networking` and `--x-network-driver`, introduced
in Compose 1.5, have been removed. in Compose 1.5, have been removed.

View File

@ -80,8 +80,8 @@ const containers = await ddClient.docker.listContainers();
#### Parameters #### Parameters
| Name | Type | Description | | Name | Type | Description |
| :------ | :------ | :------ | |:-----------|:------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `options?` | `any` | (Optional). A JSON like `{ "all": true, "limit": 10, "size": true, "filters": JSON.stringify({ status: ["exited"] }), }` For more information about the different properties see [the Docker API endpoint documentation](https://docs.docker.com/engine/api/v1.37/#operation/ContainerList). | | `options?` | `any` | (Optional). A JSON like `{ "all": true, "limit": 10, "size": true, "filters": JSON.stringify({ status: ["exited"] }), }` For more information about the different properties see [the Docker API endpoint documentation](../../../../../../engine/api/v1.37.md#operation/ContainerList). |
#### Returns #### Returns
@ -102,8 +102,8 @@ const images = await ddClient.docker.listImages();
#### Parameters #### Parameters
| Name | Type | Description | | Name | Type | Description |
| :------ | :------ | :------ | |:-----------|:------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `options?` | `any` | (Optional). A JSON like `{ "all": true, "filters": JSON.stringify({ dangling: ["true"] }), "digests": true }` For more information about the different properties see [the Docker API endpoint documentation](https://docs.docker.com/engine/api/v1.37/#tag/Image). | | `options?` | `any` | (Optional). A JSON like `{ "all": true, "filters": JSON.stringify({ dangling: ["true"] }), "digests": true }` For more information about the different properties see [the Docker API endpoint documentation](../../../../../../engine/api/v1.37.md#tag/Image). |
#### Returns #### Returns

View File

@ -90,8 +90,8 @@ const containers = await window.ddClient.listContainers();
#### Parameters #### Parameters
| Name | Type | Description | | Name | Type | Description |
| :------ | :------ | :------ | |:----------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `options` | `never` | (Optional). A JSON like `{ "all": true, "limit": 10, "size": true, "filters": JSON.stringify({ status: ["exited"] }), }` For more information about the different properties see [the Docker API endpoint documentation](https://docs.docker.com/engine/api/v1.37/#operation/ContainerList). | | `options` | `never` | (Optional). A JSON like `{ "all": true, "limit": 10, "size": true, "filters": JSON.stringify({ status: ["exited"] }), }` For more information about the different properties see [the Docker API endpoint documentation](../../../../../../engine/api/v1.37.md#operation/ContainerList). |
#### Returns #### Returns
@ -120,8 +120,8 @@ const images = await window.ddClient.listImages();
#### Parameters #### Parameters
| Name | Type | Description | | Name | Type | Description |
| :------ | :------ | :------ | |:----------|:--------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `options` | `never` | (Optional). A JSON like `{ "all": true, "filters": JSON.stringify({ dangling: ["true"] }), "digests": true }` For more information about the different properties see [the Docker API endpoint documentation](https://docs.docker.com/engine/api/v1.37/#tag/Image). | | `options` | `never` | (Optional). A JSON like `{ "all": true, "filters": JSON.stringify({ dangling: ["true"] }), "digests": true }` For more information about the different properties see [the Docker API endpoint documentation](../../../../../../engine/api/v1.37.md#tag/Image). |
#### Returns #### Returns

View File

@ -98,7 +98,7 @@ services:
### Use the docker socket from your extension backend ### Use the docker socket from your extension backend
Docker extensions can invoke Docker commands directly from the frontend with the SDK. In some cases, it is useful to also interact with the Docker engine from the backend. Extension backend containers can mount the Docker socket and use it to interact with the Docker engine from the extension backend logic. (Learn more about the [Docker engine socket](https://docs.docker.com/engine/reference/commandline/dockerd/#examples)) Docker extensions can invoke Docker commands directly from the frontend with the SDK. In some cases, it is useful to also interact with the Docker engine from the backend. Extension backend containers can mount the Docker socket and use it to interact with the Docker engine from the extension backend logic. (Learn more about the [Docker engine socket](/engine/reference/commandline/dockerd/#examples))
However, when mounting the docker socket from an extension container that lives in the Desktop virtual machine, you want to mount the Docker socket from inside the VM, and not mount `/var/run/docker.sock` from the host filsystem (using the Docker socket from the host can lead to permission issues in containers). However, when mounting the docker socket from an extension container that lives in the Desktop virtual machine, you want to mount the Docker socket from inside the VM, and not mount `/var/run/docker.sock` from the host filsystem (using the Docker socket from the host can lead to permission issues in containers).
In order to do so, you can use `/var/run/docker.sock.raw`. Docker Desktop mounts the socket that lives in the Desktop VM, and not from the host. In order to do so, you can use `/var/run/docker.sock.raw`. Docker Desktop mounts the socket that lives in the Desktop VM, and not from the host.

View File

@ -4,15 +4,15 @@ description: Docker extension labels
keywords: Docker, extensions, sdk, labels keywords: Docker, extensions, sdk, labels
--- ---
[Labels](https://docs.docker.com/engine/reference/builder/#label) are specified in the extension's `Dockerfile` and used to provide information about the extension. [Labels](../../../engine/reference/builder.md#label) are specified in the extension's `Dockerfile` and used to provide information about the extension.
| Label | Required | Description | Example | | Label | Required | Description | Example |
| --- | --- | --- | ---| |---------------------------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `org.opencontainers.image.title` | Yes | Human-readable title of the image (string). This appears in the UI for Docker Desktop. | my-extension | | `org.opencontainers.image.title` | Yes | Human-readable title of the image (string). This appears in the UI for Docker Desktop. | my-extension |
| `org.opencontainers.image.description` | Yes | Human-readable description of the software packaged in the image (string) | This extension is cool.| | `org.opencontainers.image.description` | Yes | Human-readable description of the software packaged in the image (string) | This extension is cool. |
| `org.opencontainers.image.vendor` | Yes | Name of the distributing entity, organization, or individual. | Acme, Inc. | | `org.opencontainers.image.vendor` | Yes | Name of the distributing entity, organization, or individual. | Acme, Inc. |
| `com.docker.desktop.extension.api.version` | Yes | Version of the Docker Extension manager that the extension is compatible with. It must follow [semantic versioning](https://semver.org/). | A specific version like `0.1.0` or, a constraint expression: `>= 0.1.0`, `>= 1.4.7, < 2.0` . For your first extension, you can use `docker extension version` to know the SDK API version and specify `>= <SDK_API_VERSION>`.| | `com.docker.desktop.extension.api.version` | Yes | Version of the Docker Extension manager that the extension is compatible with. It must follow [semantic versioning](https://semver.org/). | A specific version like `0.1.0` or, a constraint expression: `>= 0.1.0`, `>= 1.4.7, < 2.0` . For your first extension, you can use `docker extension version` to know the SDK API version and specify `>= <SDK_API_VERSION>`. |
| `com.docker.desktop.extension.icon` | No | The extension icon (format: .svg .png .jpg) | <a href="https://docs.docker.com/images/engine.svg" target="__blank">https://docs.docker.com/images/engine.svg<a> | | `com.docker.desktop.extension.icon` | No | The extension icon (format: .svg .png .jpg) | <a href="{{ site.docs_url }}/images/engine.svg" target="__blank">{{ site.docs_url }}/images/engine.svg<a> |
| `com.docker.extension.screenshots` | No | A JSON array of image URLs and an alternative text displayed to users (in the order they appear in your metadata) in your extension's details page. **Note:** The recommended size for sceenshots is 2400x1600 pixels. | `"[{"alt":"alternative text for image 1",` `"url":"https://foo.bar/image1.png"},` `{"alt":"alternative text for image2",` `"url":"https://foo.bar/image2.jpg"}]"` | | `com.docker.extension.screenshots` | No | A JSON array of image URLs and an alternative text displayed to users (in the order they appear in your metadata) in your extension's details page. **Note:** The recommended size for sceenshots is 2400x1600 pixels. | `"[{"alt":"alternative text for image 1",` `"url":"https://foo.bar/image1.png"},` `{"alt":"alternative text for image2",` `"url":"https://foo.bar/image2.jpg"}]"` |
| `com.docker.extension.detailed-description` | No | Additional information in plain text or HTML about the extension to be displayed in the details dialog. | `My detailed description` or `<h1>My detailed description</h1>` | | `com.docker.extension.detailed-description` | No | Additional information in plain text or HTML about the extension to be displayed in the details dialog. | `My detailed description` or `<h1>My detailed description</h1>` |
| `com.docker.extension.publisher-url` | No | The publisher website URL to be displayed in the details dialog. | `https://foo.bar` | | `com.docker.extension.publisher-url` | No | The publisher website URL to be displayed in the details dialog. | `https://foo.bar` |

View File

@ -43,9 +43,9 @@ We recommend that you authenticate using the **Sign in/Create ID** option in the
Once logged in, you can access your Docker Hub repositories directly from Docker Desktop. Once logged in, you can access your Docker Hub repositories directly from Docker Desktop.
Authenticated users get a higher pull rate limit compared to anonymous users. For example, if you are authenticated, you get 200 pulls per 6 hour period, compared to 100 pulls per 6 hour period per IP address for anonymous users. For more information, see [Download rate limit](https://docs.docker.com/docker-hub/download-rate-limit/). Authenticated users get a higher pull rate limit compared to anonymous users. For example, if you are authenticated, you get 200 pulls per 6 hour period, compared to 100 pulls per 6 hour period per IP address for anonymous users. For more information, see [Download rate limit](../docker-hub/download-rate-limit.md).
In large enterprises where admin access is restricted, administrators can create a registry.json file and deploy it to the developers machines using a device management software as part of the Docker Desktop installation process. Enforcing developers to authenticate through Docker Desktop also allows administrators to set up guardrails using features such as [Image Access Management](https://docs.docker.com/docker-hub/image-access-management/) which allows team members to only have access to Trusted Content on Docker Hub, and pull only from the specified categories of images. For more information, see Configure registry.json to enforce sign in https://docs.docker.com/docker-hub/configure-sign-in/. In large enterprises where admin access is restricted, administrators can create a registry.json file and deploy it to the developers machines using a device management software as part of the Docker Desktop installation process. Enforcing developers to authenticate through Docker Desktop also allows administrators to set up guardrails using features such as [Image Access Management](../docker-hub/image-access-management.md) which allows team members to only have access to Trusted Content on Docker Hub, and pull only from the specified categories of images. For more information, see [Configure registry.json to enforce sign in](../docker-hub/configure-sign-in.md).
### Two-factor authentication ### Two-factor authentication

View File

@ -132,7 +132,7 @@ Docker Desktop 2.4.0.0 contains a Kubernetes upgrade. Your local Kubernetes clus
### New ### New
- The new Cloud integration in Docker CLI makes it easy to run containers in the cloud using either Amazon ECS or Microsoft ACI. For more information, see [Deploying Docker containers on ECS](https://docs.docker.com/engine/context/ecs-integration/) and [Deploying Docker containers on Azure](https://docs.docker.com/engine/context/aci-integration/). - The new Cloud integration in Docker CLI makes it easy to run containers in the cloud using either Amazon ECS or Microsoft ACI. For more information, see [Deploying Docker containers on ECS](/engine/context/ecs-integration/) and [Deploying Docker containers on Azure](/engine/context/aci-integration/).
### Upgrades ### Upgrades

View File

@ -150,7 +150,7 @@ Docker Desktop 2.4.0.0 contains a Kubernetes upgrade. Your local Kubernetes clus
### New ### New
- The new Cloud integration in Docker CLI makes it easy to run containers in the cloud using either Amazon ECS or Microsoft ACI. For more information, see [Deploying Docker containers on ECS](https://docs.docker.com/engine/context/ecs-integration/) and [Deploying Docker containers on Azure](https://docs.docker.com/engine/context/aci-integration/). - The new Cloud integration in Docker CLI makes it easy to run containers in the cloud using either Amazon ECS or Microsoft ACI. For more information, see [Deploying Docker containers on ECS](/engine/context/ecs-integration/) and [Deploying Docker containers on Azure](/engine/context/aci-integration/).
### Upgrades ### Upgrades

View File

@ -45,7 +45,7 @@ This page contains information about the new features, improvements, known issue
- Allow setting 0 scale/replicas. - Allow setting 0 scale/replicas.
- Detect new container on logs —follow. - Detect new container on logs —follow.
- [Go 1.16.7](https://github.com/golang/go/releases/tag/go1.16.7) - [Go 1.16.7](https://github.com/golang/go/releases/tag/go1.16.7)
- [Docker Engine 20.10.8](https://docs.docker.com/engine/release-notes/#20108) - [Docker Engine 20.10.8](../../engine/release-notes/index.md#20108)
- [containerd v1.4.9](https://github.com/containerd/containerd/releases/tag/v1.4.9) - [containerd v1.4.9](https://github.com/containerd/containerd/releases/tag/v1.4.9)
- [runc v1.0.1](https://github.com/opencontainers/runc/releases/tag/v1.0.1) - [runc v1.0.1](https://github.com/opencontainers/runc/releases/tag/v1.0.1)
- [Kubernetes 1.21.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.21.3) - [Kubernetes 1.21.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.21.3)
@ -179,7 +179,7 @@ This page contains information about the new features, improvements, known issue
### Upgrades ### Upgrades
- [Docker Engine 20.10.7](https://docs.docker.com/engine/release-notes/#20107) - [Docker Engine 20.10.7](../../engine/release-notes/index.md#20107)
- [Docker Compose 1.29.2](https://github.com/docker/compose/releases/tag/1.29.2) - [Docker Compose 1.29.2](https://github.com/docker/compose/releases/tag/1.29.2)
- [Docker Hub Tool v0.4.1](https://github.com/docker/hub-tool/releases/tag/v0.4.1) - [Docker Hub Tool v0.4.1](https://github.com/docker/hub-tool/releases/tag/v0.4.1)
- [Compose CLI v1.0.16](https://github.com/docker/compose-cli/releases/tag/v1.0.16) - [Compose CLI v1.0.16](https://github.com/docker/compose-cli/releases/tag/v1.0.16)
@ -242,7 +242,7 @@ This page contains information about the new features, improvements, known issue
- [Compose CLI v1.0.14](https://github.com/docker/compose-cli/tree/v1.0.14) - [Compose CLI v1.0.14](https://github.com/docker/compose-cli/tree/v1.0.14)
- [Go 1.16.3](https://golang.org/doc/go1.16) - [Go 1.16.3](https://golang.org/doc/go1.16)
- [Docker Compose 1.29.1](https://github.com/docker/compose/releases/tag/1.29.1) - [Docker Compose 1.29.1](https://github.com/docker/compose/releases/tag/1.29.1)
- [Docker Engine 20.10.6](https://docs.docker.com/engine/release-notes/#20106) - [Docker Engine 20.10.6](../../engine/release-notes/index.md#20106)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -353,7 +353,7 @@ For developers in IT managed environments, who dont have administrative acces
### Upgrades ### Upgrades
- [Docker Engine 20.10.5](https://docs.docker.com/engine/release-notes/#20105) - [Docker Engine 20.10.5](../../engine/release-notes/index.md#20105)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -383,7 +383,7 @@ For developers in IT managed environments, who dont have administrative acces
### Upgrades ### Upgrades
- [Docker Engine 20.10.3](https://docs.docker.com/engine/release-notes/#20103) - [Docker Engine 20.10.3](../../engine/release-notes/index.md#20103)
- [Docker Compose 1.28.5](https://github.com/docker/compose/releases/tag/1.28.5) - [Docker Compose 1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [Compose CLI v1.0.9](https://github.com/docker/compose-cli/tree/v1.0.9) - [Compose CLI v1.0.9](https://github.com/docker/compose-cli/tree/v1.0.9)
- [Docker Hub Tool v0.3.0](https://github.com/docker/hub-tool/releases/tag/v0.3.0) - [Docker Hub Tool v0.3.0](https://github.com/docker/hub-tool/releases/tag/v0.3.0)
@ -441,7 +441,7 @@ Docker Desktop can sometimes fail to start after updating to version 3.2.0. If y
### Upgrades ### Upgrades
- [Docker Engine 20.10.2](https://docs.docker.com/engine/release-notes/#20102) - [Docker Engine 20.10.2](../../engine/release-notes/index.md#20102)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -532,7 +532,7 @@ Docker Desktop can sometimes fail to start after updating to version 3.2.0. If y
### Upgrades ### Upgrades
- [Docker Engine 20.10.0](https://docs.docker.com/engine/release-notes/#20100) - [Docker Engine 20.10.0](../../engine/release-notes/index.md#20100)
- [Go 1.15.6](https://github.com/golang/go/issues?q=milestone%3AGo1.15.6+label%3ACherryPickApproved+) - [Go 1.15.6](https://github.com/golang/go/issues?q=milestone%3AGo1.15.6+label%3ACherryPickApproved+)
- [Compose CLI v1.0.4](https://github.com/docker/compose-cli/releases/tag/v1.0.4) - [Compose CLI v1.0.4](https://github.com/docker/compose-cli/releases/tag/v1.0.4)
- [Snyk v1.432.0](https://github.com/snyk/snyk/releases/tag/v1.432.0) - [Snyk v1.432.0](https://github.com/snyk/snyk/releases/tag/v1.432.0)

View File

@ -44,7 +44,7 @@ This page contains information about the new features, improvements, known issue
- Allow setting 0 scale/replicas. - Allow setting 0 scale/replicas.
- Detect new container on logs —follow. - Detect new container on logs —follow.
- [Go 1.16.7](https://github.com/golang/go/releases/tag/go1.16.7) - [Go 1.16.7](https://github.com/golang/go/releases/tag/go1.16.7)
- [Docker Engine 20.10.8](https://docs.docker.com/engine/release-notes/#20108) - [Docker Engine 20.10.8](../../engine/release-notes/index.md#20108)
- [containerd v1.4.9](https://github.com/containerd/containerd/releases/tag/v1.4.9) - [containerd v1.4.9](https://github.com/containerd/containerd/releases/tag/v1.4.9)
- [runc v1.0.1](https://github.com/opencontainers/runc/releases/tag/v1.0.1) - [runc v1.0.1](https://github.com/opencontainers/runc/releases/tag/v1.0.1)
- [Kubernetes 1.21.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.21.3) - [Kubernetes 1.21.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.21.3)
@ -181,7 +181,7 @@ This page contains information about the new features, improvements, known issue
### Upgrades ### Upgrades
- [Docker Engine 20.10.7](https://docs.docker.com/engine/release-notes/#20107) - [Docker Engine 20.10.7](../../engine/release-notes/index.md#20107)
- [Docker Compose 1.29.2](https://github.com/docker/compose/releases/tag/1.29.2) - [Docker Compose 1.29.2](https://github.com/docker/compose/releases/tag/1.29.2)
- [Docker Hub Tool v0.4.1](https://github.com/docker/hub-tool/releases/tag/v0.4.1) - [Docker Hub Tool v0.4.1](https://github.com/docker/hub-tool/releases/tag/v0.4.1)
- [Compose CLI v1.0.16](https://github.com/docker/compose-cli/releases/tag/v1.0.16) - [Compose CLI v1.0.16](https://github.com/docker/compose-cli/releases/tag/v1.0.16)
@ -233,7 +233,7 @@ This page contains information about the new features, improvements, known issue
- [Compose CLI v1.0.14](https://github.com/docker/compose-cli/tree/v1.0.14) - [Compose CLI v1.0.14](https://github.com/docker/compose-cli/tree/v1.0.14)
- [Go 1.16.3](https://golang.org/doc/go1.16) - [Go 1.16.3](https://golang.org/doc/go1.16)
- [Docker Compose 1.29.1](https://github.com/docker/compose/releases/tag/1.29.1) - [Docker Compose 1.29.1](https://github.com/docker/compose/releases/tag/1.29.1)
- [Docker Engine 20.10.6](https://docs.docker.com/engine/release-notes/#20106) - [Docker Engine 20.10.6](../../engine/release-notes/index.md#20106)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -321,7 +321,7 @@ For developers in IT managed environments, who dont have administrative acces
### Upgrades ### Upgrades
- [Docker Engine 20.10.5](https://docs.docker.com/engine/release-notes/#20105) - [Docker Engine 20.10.5](../../engine/release-notes/index.md#20105)
## Docker Desktop 3.2.0 ## Docker Desktop 3.2.0
2021-03-01 2021-03-01
@ -345,7 +345,7 @@ For developers in IT managed environments, who dont have administrative acces
### Upgrades ### Upgrades
- [Docker Engine 20.10.3](https://docs.docker.com/engine/release-notes/#20103) - [Docker Engine 20.10.3](../../engine/release-notes/index.md#20103)
- [Docker Compose 1.28.5](https://github.com/docker/compose/releases/tag/1.28.5) - [Docker Compose 1.28.5](https://github.com/docker/compose/releases/tag/1.28.5)
- [Compose CLI v1.0.9](https://github.com/docker/compose-cli/tree/v1.0.9) - [Compose CLI v1.0.9](https://github.com/docker/compose-cli/tree/v1.0.9)
- [Docker Hub Tool v0.3.0](https://github.com/docker/hub-tool/releases/tag/v0.3.0) - [Docker Hub Tool v0.3.0](https://github.com/docker/hub-tool/releases/tag/v0.3.0)
@ -407,7 +407,7 @@ For developers in IT managed environments, who dont have administrative acces
### Upgrades ### Upgrades
- [Docker Engine 20.10.2](https://docs.docker.com/engine/release-notes/#20102) - [Docker Engine 20.10.2](../../engine/release-notes/index.md#20102)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -436,7 +436,7 @@ For developers in IT managed environments, who dont have administrative acces
### Upgrades ### Upgrades
- [Docker Engine 20.10.0](https://docs.docker.com/engine/release-notes/#20100) - [Docker Engine 20.10.0](../../engine/release-notes/index.md#20100)
- [Go 1.15.6](https://github.com/golang/go/issues?q=milestone%3AGo1.15.6+label%3ACherryPickApproved+) - [Go 1.15.6](https://github.com/golang/go/issues?q=milestone%3AGo1.15.6+label%3ACherryPickApproved+)
- [Compose CLI v1.0.4](https://github.com/docker/compose-cli/releases/tag/v1.0.4) - [Compose CLI v1.0.4](https://github.com/docker/compose-cli/releases/tag/v1.0.4)
- [Snyk v1.432.0](https://github.com/snyk/snyk/releases/tag/v1.432.0) - [Snyk v1.432.0](https://github.com/snyk/snyk/releases/tag/v1.432.0)

View File

@ -47,7 +47,7 @@ This page contains release notes for older versions of Docker Desktop for Mac.
- Re-enable raw as the default disk format for users running macOS 10.13.4 and higher. Note this change only takes effect after a "reset to factory defaults" or "remove all data" (from the Whale menu -> Preferences -> Reset). Related to [docker/for-mac#2625](https://github.com/docker/for-mac/issues/2625) - Re-enable raw as the default disk format for users running macOS 10.13.4 and higher. Note this change only takes effect after a "reset to factory defaults" or "remove all data" (from the Whale menu -> Preferences -> Reset). Related to [docker/for-mac#2625](https://github.com/docker/for-mac/issues/2625)
* Bug fixes and minor changes * Bug fixes and minor changes
- AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset disk image (in Preferences > Reset menu) before updating to the next major update. You can check documentation to [save images](https://docs.docker.com/engine/reference/commandline/save/#examples) and [backup volumes](https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes) - AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset disk image (in Preferences > Reset menu) before updating to the next major update. You can check documentation to [save images](/engine/reference/commandline/save/#examples) and [backup volumes](../../storage/volumes.md#backup-restore-or-migrate-data-volumes)
- OS X El Captain 10.11 is deprecated in Docker Desktop. You will not be able to install updates after Docker Desktop 18.06.x. We recommend upgrading to the latest version of macOS. - OS X El Captain 10.11 is deprecated in Docker Desktop. You will not be able to install updates after Docker Desktop 18.06.x. We recommend upgrading to the latest version of macOS.
- Fix bug which would cause VM logs to be written to RAM rather than disk in some cases, and the VM to hang. See [docker/for-mac#2984](https://github.com/docker/for-mac/issues/2984) - Fix bug which would cause VM logs to be written to RAM rather than disk in some cases, and the VM to hang. See [docker/for-mac#2984](https://github.com/docker/for-mac/issues/2984)
- Fix network connection leak triggered by haproxy TCP health-checks [docker/for-mac#1132](https://github.com/docker/for-mac/issues/1132) - Fix network connection leak triggered by haproxy TCP health-checks [docker/for-mac#1132](https://github.com/docker/for-mac/issues/1132)

View File

@ -67,7 +67,7 @@ This page contains release notes for older versions of Docker Desktop for Window
- Kubernetes Support. You can now run a single-node Kubernetes cluster from the "Kubernetes" Pane in Docker for Windows settings and use kubectl commands as well as Docker commands. See [the Kubernetes section](../kubernetes.md) - Kubernetes Support. You can now run a single-node Kubernetes cluster from the "Kubernetes" Pane in Docker for Windows settings and use kubectl commands as well as Docker commands. See [the Kubernetes section](../kubernetes.md)
* Bug fixes and minor changes * Bug fixes and minor changes
- AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset the disk image (in Settings > Reset menu) before updating to the next major update. You can check documentation to [save images](https://docs.docker.com/engine/reference/commandline/save/#examples) and [backup volumes](https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes) - AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset the disk image (in Settings > Reset menu) before updating to the next major update. You can check documentation to [save images](/engine/reference/commandline/save/#examples) and [backup volumes](../../storage/volumes.md#backup-restore-or-migrate-data-volumes)
- Fix bug which would in some cases cause virtual machine logs to be written to RAM rather than disk, and the virtual machine to hang. - Fix bug which would in some cases cause virtual machine logs to be written to RAM rather than disk, and the virtual machine to hang.
- Fix security issue with named pipe connection to docker service. - Fix security issue with named pipe connection to docker service.
- Fix VPNKit memory leak. Fixes [docker/for-win#2087](https://github.com/docker/for-win/issues/2087), [moby/vpnkit#371](https://github.com/moby/vpnkit/issues/371) - Fix VPNKit memory leak. Fixes [docker/for-win#2087](https://github.com/docker/for-win/issues/2087), [moby/vpnkit#371](https://github.com/moby/vpnkit/issues/371)

View File

@ -218,8 +218,8 @@ the `--privileged` flag. See [docker/for-win#8326](https://github.com/docker/for
### New ### New
- In partnership with Snyk, Docker Desktop launches [vulnerability scanning](https://docs.docker.com/engine/scan/) for Docker local images. - In partnership with Snyk, Docker Desktop launches [vulnerability scanning](../../engine/scan/index.md) for Docker local images.
- Docker ECS plugin has been replaced by [ECS cloud integration](https://docs.docker.com/engine/context/ecs-integration/) - Docker ECS plugin has been replaced by [ECS cloud integration](/engine/context/ecs-integration/)
- Docker UI: - Docker UI:
- The Images view now has search and filter options. - The Images view now has search and filter options.
- You can now push an image to Docker Hub using the Remote repositories drop-down menu. - You can now push an image to Docker Hub using the Remote repositories drop-down menu.
@ -327,7 +327,7 @@ the `--privileged` flag. See [docker/for-win#8326](https://github.com/docker/for
### Upgrades ### Upgrades
- Beta release of [Docker ECS integration v1.0.0-beta.1](https://docs.docker.com/engine/context/ecs-integration/) - Beta release of [Docker ECS integration v1.0.0-beta.1](/engine/context/ecs-integration/)
- [Docker ACI integration v0.1.7](https://github.com/docker/aci-integration-beta/releases/tag/v0.1.7) - [Docker ACI integration v0.1.7](https://github.com/docker/aci-integration-beta/releases/tag/v0.1.7)
- [Docker Compose 1.26.2](https://github.com/docker/compose/releases/tag/1.26.2) - [Docker Compose 1.26.2](https://github.com/docker/compose/releases/tag/1.26.2)
@ -352,7 +352,7 @@ the `--privileged` flag. See [docker/for-win#8326](https://github.com/docker/for
- [Docker 19.03.12](https://github.com/docker/docker-ce/releases/tag/v19.03.12) - [Docker 19.03.12](https://github.com/docker/docker-ce/releases/tag/v19.03.12)
- [Docker Compose 1.26.0](https://github.com/docker/compose/releases/tag/1.26.0) - [Docker Compose 1.26.0](https://github.com/docker/compose/releases/tag/1.26.0)
- [Kubernetes 1.18.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.18.3) - [Kubernetes 1.18.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.18.3)
- Beta release of the [Docker ACI integration](https://docs.docker.com/engine/context/aci-integration/) - Beta release of the [Docker ACI integration](/engine/context/aci-integration/)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -950,7 +950,7 @@ This release contains a Kubernetes upgrade. Note that your local Kubernetes clus
- Add an experimental SOCKS server to allow access to container networks, see [docker/for-mac#2670](https://github.com/docker/for-mac/issues/2670#issuecomment-372365274). Also see [docker/for-mac#2721](https://github.com/docker/for-mac/issues/2721) - Add an experimental SOCKS server to allow access to container networks, see [docker/for-mac#2670](https://github.com/docker/for-mac/issues/2670#issuecomment-372365274). Also see [docker/for-mac#2721](https://github.com/docker/for-mac/issues/2721)
* Bug fixes and minor changes * Bug fixes and minor changes
- AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset disk image (in Preferences > Reset menu) before updating to the next major update. You can check documentation to [save images](https://docs.docker.com/engine/reference/commandline/save/#examples) and [backup volumes](https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes) - AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset disk image (in Preferences > Reset menu) before updating to the next major update. You can check documentation to [save images](/engine/reference/commandline/save/#examples) and [backup volumes](../../storage/volumes.md#backup-restore-or-migrate-data-volumes)
- Fix startup issue with AUFS [docker/for-mac#2804](https://github.com/docker/for-mac/issues/2804) - Fix startup issue with AUFS [docker/for-mac#2804](https://github.com/docker/for-mac/issues/2804)
- Fix status bug which could prevent the Kubernetes cluster from starting. Fixes [docker/for-mac#2990](https://github.com/docker/for-mac/issues/2990) - Fix status bug which could prevent the Kubernetes cluster from starting. Fixes [docker/for-mac#2990](https://github.com/docker/for-mac/issues/2990)
- Fix bug which would cause virtual machine logs to be written to RAM rather than disk in some cases, and the virtual machine to hang. See [docker/for-mac#2984](https://github.com/docker/for-mac/issues/2984) - Fix bug which would cause virtual machine logs to be written to RAM rather than disk in some cases, and the virtual machine to hang. See [docker/for-mac#2984](https://github.com/docker/for-mac/issues/2984)
@ -2287,7 +2287,7 @@ events or unexpected unmounts.
**Bug fixes and minor changes** **Bug fixes and minor changes**
* Documentation moved to [https://docs.docker.com/desktop/mac/](../index.md) * Documentation moved to [/desktop/mac/](../index.md)
* Allow non-admin users to launch the app for the first time (using admin creds) * Allow non-admin users to launch the app for the first time (using admin creds)
* Prompt non-admin users for admin password when needed in Preferences * Prompt non-admin users for admin password when needed in Preferences
* Fixed download links, documentation links * Fixed download links, documentation links

View File

@ -211,7 +211,7 @@ the `--privileged` flag. See [docker/for-win#8326](https://github.com/docker/for
### New ### New
- In partnership with Snyk, Docker Desktop launches [vulnerability scanning](../../engine/scan/index.md) for Docker local images. - In partnership with Snyk, Docker Desktop launches [vulnerability scanning](../../engine/scan/index.md) for Docker local images.
- Docker ECS plugin has been replaced by [ECS cloud integration](https://docs.docker.com/engine/context/ecs-integration/) - Docker ECS plugin has been replaced by [ECS cloud integration](/engine/context/ecs-integration/)
- Docker UI: - Docker UI:
- The Images view now has search and filter options. - The Images view now has search and filter options.
- You can now push an image to Docker Hub using the Remote repositories drop-down menu. - You can now push an image to Docker Hub using the Remote repositories drop-down menu.
@ -333,7 +333,7 @@ the `--privileged` flag. See [docker/for-win#8326](https://github.com/docker/for
### Upgrades ### Upgrades
- Beta release of [Docker ECS integration v1.0.0-beta.1.](https://docs.docker.com/engine/context/ecs-integration/) - Beta release of [Docker ECS integration v1.0.0-beta.1.](/engine/context/ecs-integration/)
- [Docker ACI integration v0.1.7](https://github.com/docker/aci-integration-beta/releases/tag/v0.1.7) - [Docker ACI integration v0.1.7](https://github.com/docker/aci-integration-beta/releases/tag/v0.1.7)
- [Docker Compose 1.26.2](https://github.com/docker/compose/releases/tag/1.26.2) - [Docker Compose 1.26.2](https://github.com/docker/compose/releases/tag/1.26.2)
@ -362,7 +362,7 @@ the `--privileged` flag. See [docker/for-win#8326](https://github.com/docker/for
- [Docker 19.03.12](https://github.com/docker/docker-ce/releases/tag/v19.03.12) - [Docker 19.03.12](https://github.com/docker/docker-ce/releases/tag/v19.03.12)
- [Docker Compose 1.26.0](https://github.com/docker/compose/releases/tag/1.26.0) - [Docker Compose 1.26.0](https://github.com/docker/compose/releases/tag/1.26.0)
- [Kubernetes 1.18.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.18.3) - [Kubernetes 1.18.3](https://github.com/kubernetes/kubernetes/releases/tag/v1.18.3)
- Beta release of the [Docker ACI integration](https://docs.docker.com/engine/context/aci-integration/) - Beta release of the [Docker ACI integration](/engine/context/aci-integration/)
### Bug fixes and minor changes ### Bug fixes and minor changes
@ -1162,7 +1162,7 @@ This release contains a Kubernetes upgrade. Note that your local Kubernetes clus
- New Kubernetes menu item allowing to switch Kubernetes context & connect to clusters other than the local one. - New Kubernetes menu item allowing to switch Kubernetes context & connect to clusters other than the local one.
* Bug fixes and minor changes * Bug fixes and minor changes
- AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset disk image (in Settings > Reset menu) before updating to the next major update. You can check documentation to [save images](https://docs.docker.com/engine/reference/commandline/save/#examples) and [backup volumes](https://docs.docker.com/storage/volumes/#backup-restore-or-migrate-data-volumes) - AUFS storage driver is deprecated in Docker Desktop and AUFS support will be removed in the next major release. You can continue with AUFS in Docker Desktop 18.06.x, but you will need to reset disk image (in Settings > Reset menu) before updating to the next major update. You can check documentation to [save images](/engine/reference/commandline/save/#examples) and [backup volumes](../../storage/volumes.md#backup-restore-or-migrate-data-volumes)
- Fix startup issue with AUFS - Fix startup issue with AUFS
- Fix status bug which could prevent the kubernetes cluster from starting. - Fix status bug which could prevent the kubernetes cluster from starting.
- Fix bug which would cause VM logs to be written to RAM rather than disk in some cases, and the VM to hang. - Fix bug which would cause VM logs to be written to RAM rather than disk in some cases, and the VM to hang.

View File

@ -176,7 +176,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
- Removed Homepage while working on a new design. You can provide [feedback here](https://docs.google.com/forms/d/e/1FAIpQLSfYueBkJHdgxqsWcQn4VzBn2swu4u_rMQRIMa8LExYb_72mmQ/viewform?entry.1237514594=4.10). - Removed Homepage while working on a new design. You can provide [feedback here](https://docs.google.com/forms/d/e/1FAIpQLSfYueBkJHdgxqsWcQn4VzBn2swu4u_rMQRIMa8LExYb_72mmQ/viewform?entry.1237514594=4.10).
### Upgrades ### Upgrades
- [Docker Engine v20.10.17](https://docs.docker.com/engine/release-notes/#201017) - [Docker Engine v20.10.17](../engine/release-notes/index.md#201017)
- [Docker Compose v2.6.1](https://github.com/docker/compose/releases/tag/v2.6.1) - [Docker Compose v2.6.1](https://github.com/docker/compose/releases/tag/v2.6.1)
- [Kubernetes v1.24.1](https://github.com/kubernetes/kubernetes/releases/tag/v1.24.1) - [Kubernetes v1.24.1](https://github.com/kubernetes/kubernetes/releases/tag/v1.24.1)
- [cri-dockerd to v0.2.1](https://github.com/Mirantis/cri-dockerd/releases/tag/v0.2.1) - [cri-dockerd to v0.2.1](https://github.com/Mirantis/cri-dockerd/releases/tag/v0.2.1)
@ -270,7 +270,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
### Upgrades ### Upgrades
- [Compose v2.6.0](https://github.com/docker/compose/releases/tag/v2.6.0) - [Compose v2.6.0](https://github.com/docker/compose/releases/tag/v2.6.0)
- [Docker Engine v20.10.16](https://docs.docker.com/engine/release-notes/#201016) - [Docker Engine v20.10.16](../engine/release-notes/index.md#201016)
- [containerd v1.6.4](https://github.com/containerd/containerd/releases/tag/v1.6.4) - [containerd v1.6.4](https://github.com/containerd/containerd/releases/tag/v1.6.4)
- [runc v1.1.1](https://github.com/opencontainers/runc/releases/tag/v1.1.1) - [runc v1.1.1](https://github.com/opencontainers/runc/releases/tag/v1.1.1)
- [Go 1.18.2](https://github.com/golang/go/releases/tag/go1.18.2) - [Go 1.18.2](https://github.com/golang/go/releases/tag/go1.18.2)
@ -343,7 +343,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
### New ### New
- Released [Docker Desktop for Linux](install/linux-install.md). - Released [Docker Desktop for Linux](install/linux-install.md).
- Beta release of [Docker Extensions](https://docs.docker.com/desktop/extensions) and Extensions SDK. - Beta release of [Docker Extensions](extensions.md) and Extensions SDK.
- Created a Docker Homepage where you can run popular images and discover how to use them. - Created a Docker Homepage where you can run popular images and discover how to use them.
- [Compose V2 is now GA](https://www.docker.com/blog/announcing-compose-v2-general-availability/) - [Compose V2 is now GA](https://www.docker.com/blog/announcing-compose-v2-general-availability/)
@ -372,7 +372,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
### New ### New
- Released [Docker Desktop for Linux](install/linux-install.md). - Released [Docker Desktop for Linux](install/linux-install.md).
- Beta release of [Docker Extensions](https://docs.docker.com/desktop/extensions) and Extensions SDK. - Beta release of [Docker Extensions](extensions.md) and Extensions SDK.
- Created a Docker Homepage where you can run popular images and discover how to use them. - Created a Docker Homepage where you can run popular images and discover how to use them.
- [Compose V2 is now GA](https://www.docker.com/blog/announcing-compose-v2-general-availability/) - [Compose V2 is now GA](https://www.docker.com/blog/announcing-compose-v2-general-availability/)
@ -468,7 +468,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
### Upgrades ### Upgrades
- [Docker Engine v20.10.14](https://docs.docker.com/engine/release-notes/#201014) - [Docker Engine v20.10.14](../engine/release-notes/index.md#201014)
- [Compose v2.4.1](https://github.com/docker/compose/releases/tag/v2.4.1) - [Compose v2.4.1](https://github.com/docker/compose/releases/tag/v2.4.1)
- [Buildx 0.8.2](https://github.com/docker/buildx/releases/tag/v0.8.2) - [Buildx 0.8.2](https://github.com/docker/buildx/releases/tag/v0.8.2)
- [containerd v1.5.11](https://github.com/containerd/containerd/releases/tag/v1.5.11) - [containerd v1.5.11](https://github.com/containerd/containerd/releases/tag/v1.5.11)
@ -546,7 +546,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
#### For all platforms #### For all platforms
- [Docker Engine v20.10.13](https://docs.docker.com/engine/release-notes/#201013) - [Docker Engine v20.10.13](../engine/release-notes/index.md#201013)
- [Compose v2.3.3](https://github.com/docker/compose/releases/tag/v2.3.3) - [Compose v2.3.3](https://github.com/docker/compose/releases/tag/v2.3.3)
- [Buildx 0.8.0](https://github.com/docker/buildx/releases/tag/v0.8.0) - [Buildx 0.8.0](https://github.com/docker/buildx/releases/tag/v0.8.0)
- [containerd v1.4.13](https://github.com/containerd/containerd/releases/tag/v1.4.13) - [containerd v1.4.13](https://github.com/containerd/containerd/releases/tag/v1.4.13)
@ -707,7 +707,7 @@ Installing Docker Desktop 4.5.0 from scratch has a bug which defaults Docker Des
### Security ### Security
- Fixed [CVE-2021-45449](https://docs.docker.com/security/#cve-2021-45449) that affects users currently on Docker Desktop version 4.3.0 or 4.3.1. - Fixed [CVE-2021-45449](../security/index.md#cve-2021-45449) that affects users currently on Docker Desktop version 4.3.0 or 4.3.1.
Docker Desktop version 4.3.0 and 4.3.1 has a bug that may log sensitive information (access token or password) on the user's machine during login. Docker Desktop version 4.3.0 and 4.3.1 has a bug that may log sensitive information (access token or password) on the user's machine during login.
This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user has logged in while on 4.3.0, 4.3.1. Gaining access to this data would require having access to the users local files. This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user has logged in while on 4.3.0, 4.3.1. Gaining access to this data would require having access to the users local files.
@ -720,7 +720,7 @@ This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user
### Upgrades ### Upgrades
- [Docker Engine v20.10.12](https://docs.docker.com/engine/release-notes/#201012) - [Docker Engine v20.10.12](../engine/release-notes/index.md#201012)
- [Compose v2.2.3](https://github.com/docker/compose/releases/tag/v2.2.3) - [Compose v2.2.3](https://github.com/docker/compose/releases/tag/v2.2.3)
- [Kubernetes 1.22.5](https://github.com/kubernetes/kubernetes/releases/tag/v1.22.5) - [Kubernetes 1.22.5](https://github.com/kubernetes/kubernetes/releases/tag/v1.22.5)
- [docker scan v0.16.0](https://github.com/docker/scan-cli-plugin/releases/tag/v0.16.0){: target="_blank" rel="noopener" class="_"} - [docker scan v0.16.0](https://github.com/docker/scan-cli-plugin/releases/tag/v0.16.0){: target="_blank" rel="noopener" class="_"}
@ -765,7 +765,7 @@ This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user
### Security ### Security
- Fixed [CVE-2021-45449](https://docs.docker.com/security/#cve-2021-45449) that affects users currently on Docker Desktop version 4.3.0 or 4.3.1. - Fixed [CVE-2021-45449](../security/index.md#cve-2021-45449) that affects users currently on Docker Desktop version 4.3.0 or 4.3.1.
Docker Desktop version 4.3.0 and 4.3.1 has a bug that may log sensitive information (access token or password) on the user's machine during login. Docker Desktop version 4.3.0 and 4.3.1 has a bug that may log sensitive information (access token or password) on the user's machine during login.
This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user has logged in while on 4.3.0, 4.3.1. Gaining access to this data would require having access to the users local files. This only affects users if they are on Docker Desktop 4.3.0, 4.3.1 and the user has logged in while on 4.3.0, 4.3.1. Gaining access to this data would require having access to the users local files.
@ -822,7 +822,7 @@ CVE-2021-44228](https://www.docker.com/blog/apache-log4j-2-cve-2021-44228/){: ta
### Upgrades ### Upgrades
- [Docker Engine v20.10.11](https://docs.docker.com/engine/release-notes/#201011) - [Docker Engine v20.10.11](../engine/release-notes/index.md#201011)
- [containerd v1.4.12](https://github.com/containerd/containerd/releases/tag/v1.4.12) - [containerd v1.4.12](https://github.com/containerd/containerd/releases/tag/v1.4.12)
- [Buildx 0.7.1](https://github.com/docker/buildx/releases/tag/v0.7.1) - [Buildx 0.7.1](https://github.com/docker/buildx/releases/tag/v0.7.1)
- [Compose v2.2.1](https://github.com/docker/compose/releases/tag/v2.2.1) - [Compose v2.2.1](https://github.com/docker/compose/releases/tag/v2.2.1)
@ -887,7 +887,7 @@ actual memory usage. See
### Upgrades ### Upgrades
- [Docker Engine v20.10.10](https://docs.docker.com/engine/release-notes/#201010) - [Docker Engine v20.10.10](../engine/release-notes/index.md#201010)
- [containerd v1.4.11](https://github.com/containerd/containerd/releases/tag/v1.4.11) - [containerd v1.4.11](https://github.com/containerd/containerd/releases/tag/v1.4.11)
- [runc v1.0.2](https://github.com/opencontainers/runc/releases/tag/v1.0.2) - [runc v1.0.2](https://github.com/opencontainers/runc/releases/tag/v1.0.2)
- [Go 1.17.2](https://golang.org/doc/go1.17) - [Go 1.17.2](https://golang.org/doc/go1.17)

View File

@ -25,7 +25,7 @@ Before deactivating your Docker Hub account, please complete the following:
5. If you are the sole owner of any organization, either add someone to the **owners** team and then remove yourself from the organization, or deactivate the organization as well. 5. If you are the sole owner of any organization, either add someone to the **owners** team and then remove yourself from the organization, or deactivate the organization as well.
6. Unlink your [Github and Bitbucket accounts](https://docs.docker.com/docker-hub/builds/link-source/#unlink-a-github-user-account). 6. Unlink your [Github and Bitbucket accounts](builds/link-source.md#unlink-a-github-user-account).
Once you have completed all the steps above, you may deactivate your account. On Docker Hub, go to **_Your Account_** > **Accounts Settings** > **Deactivate Account**. Once you have completed all the steps above, you may deactivate your account. On Docker Hub, go to **_Your Account_** > **Accounts Settings** > **Deactivate Account**.
@ -46,7 +46,7 @@ Before deactivating an organization, please complete the following:
3. Remove all other members, including those in the **Owners** team, within the organization. 3. Remove all other members, including those in the **Owners** team, within the organization.
4. Unlink your [Github and Bitbucket accounts](https://docs.docker.com/docker-hub/builds/link-source/#unlink-a-github-user-account). 4. Unlink your [Github and Bitbucket accounts](builds/link-source.md#unlink-a-github-user-account).
Once you have completed all the steps above, you may deactivate your organization. On Docker Hub, go to **Organizations** > **_Your Organization_** > **Settings** > **Deactivate Org**. Once you have completed all the steps above, you may deactivate your organization. On Docker Hub, go to **Organizations** > **_Your Organization_** > **Settings** > **Deactivate Org**.

View File

@ -7,7 +7,7 @@ title: Download rate limit
## What is the download rate limit on Docker Hub ## What is the download rate limit on Docker Hub
Docker Hub limits the number of Docker image downloads ("pulls") Docker Hub limits the number of Docker image downloads ("pulls")
based on the account type of the user pulling the image. Pull rates limits are based on individual IP address. For anonymous users, the rate limit is set to 100 pulls per 6 hours per IP address. For [authenticated](#how-do-i-authenticate-pull-requests) users, it is 200 pulls per 6 hour period. Users with a paid [Docker subscription](https://www.docker.com/pricing){: target="_blank" rel="noopener" class="_"} get up to 5000 pulls per day. If you require a higher number of pulls, you can also purchase an [Enhanced Service Account add-on](https://docs.docker.com/docker-hub/service-accounts/#enhanced-service-account-add-on-pricing). based on the account type of the user pulling the image. Pull rates limits are based on individual IP address. For anonymous users, the rate limit is set to 100 pulls per 6 hours per IP address. For [authenticated](#how-do-i-authenticate-pull-requests) users, it is 200 pulls per 6 hour period. Users with a paid [Docker subscription](https://www.docker.com/pricing){: target="_blank" rel="noopener" class="_"} get up to 5000 pulls per day. If you require a higher number of pulls, you can also purchase an [Enhanced Service Account add-on](service-accounts.md#enhanced-service-account-add-on-pricing).
Some images are unlimited through our [Open Source](https://www.docker.com/blog/expanded-support-for-open-source-software-projects/){: target="_blank" rel="noopener" class="_"} and [Publisher](https://www.docker.com/partners/programs){: target="_blank" rel="noopener" class="_"} programs. Some images are unlimited through our [Open Source](https://www.docker.com/blog/expanded-support-for-open-source-software-projects/){: target="_blank" rel="noopener" class="_"} and [Publisher](https://www.docker.com/partners/programs){: target="_blank" rel="noopener" class="_"} programs.

View File

@ -194,4 +194,4 @@ You will need to apply for access. Please either follow [this direct link](https
### What kind of DockerID should I use to publish my content? ### What kind of DockerID should I use to publish my content?
Publishing should be done with an [Organization level DockerID](https://docs.docker.com/docker-hub/orgs/). We recommend that this account utilize a shared alias with your corporate email account and only individual DockerIDs with company email are added to that organization. Publishing should be done with an [Organization level DockerID](../orgs.md). We recommend that this account utilize a shared alias with your corporate email account and only individual DockerIDs with company email are added to that organization.

View File

@ -9,7 +9,7 @@ redirect_from:
Docker Hub repositories allow you share container images with your team, Docker Hub repositories allow you share container images with your team,
customers, or the Docker community at large. customers, or the Docker community at large.
Docker images are pushed to Docker Hub through the [`docker push`](https://docs.docker.com/engine/reference/commandline/push/) Docker images are pushed to Docker Hub through the [`docker push`](/engine/reference/commandline/push/)
command. A single Docker Hub repository can hold many Docker images (stored as command. A single Docker Hub repository can hold many Docker images (stored as
**tags**). **tags**).

View File

@ -52,7 +52,7 @@ skip_read_time: true
### Important notes about this release ### Important notes about this release
- Docker 18.06 CE will be the last release with a 4-month maintenance lifecycle. The planned Docker 18.09 CE release will be supported for 7 months with Docker 19.03 CE being the next release in line. More details about the release process can be found [here](https://docs.docker.com/install/). - Docker 18.06 CE will be the last release with a 4-month maintenance lifecycle. The planned Docker 18.09 CE release will be supported for 7 months with Docker 19.03 CE being the next release in line. More details about the release process can be found [here](../../get-docker.md).
### Builder ### Builder
@ -185,7 +185,7 @@ skip_read_time: true
* Set item-type for ExecIDs. [moby/moby#37121](https://github.com/moby/moby/pull/37121) * Set item-type for ExecIDs. [moby/moby#37121](https://github.com/moby/moby/pull/37121)
* Use go-systemd const instead of magic string in Linux version of dockerd. [moby/moby#37136](https://github.com/moby/moby/pull/37136) * Use go-systemd const instead of magic string in Linux version of dockerd. [moby/moby#37136](https://github.com/moby/moby/pull/37136)
* Use stdlib TLS dialer. [moby/moby#36687](https://github.com/moby/moby/pull/36687) * Use stdlib TLS dialer. [moby/moby#36687](https://github.com/moby/moby/pull/36687)
* Warn when an engine label using a reserved namespace (com.docker.\*, io.docker.\*, or org.dockerproject.\*) is configured, as per https://docs.docker.com/config/labels-custom-metadata/. [moby/moby#36921](https://github.com/moby/moby/pull/36921) * Warn when an engine label using a reserved namespace (com.docker.\*, io.docker.\*, or org.dockerproject.\*) is configured, as per [Docker object labels](../../config/labels-custom-metadata.md). [moby/moby#36921](https://github.com/moby/moby/pull/36921)
- Fix missing plugin name in message. [moby/moby#37052](https://github.com/moby/moby/pull/37052) - Fix missing plugin name in message. [moby/moby#37052](https://github.com/moby/moby/pull/37052)
- Fix link anchors in CONTRIBUTING.md. [moby/moby#37276](https://github.com/moby/moby/pull/37276) - Fix link anchors in CONTRIBUTING.md. [moby/moby#37276](https://github.com/moby/moby/pull/37276)
- Fix link to Docker Toolbox. [moby/moby#37240](https://github.com/moby/moby/pull/37240) - Fix link to Docker Toolbox. [moby/moby#37240](https://github.com/moby/moby/pull/37240)

View File

@ -375,9 +375,9 @@ Update your configuration if this command prints a non-empty value for `MountFla
- Docker has deprecated support for Device Mapper as a storage driver. It will continue to be - Docker has deprecated support for Device Mapper as a storage driver. It will continue to be
supported at this time, but support will be removed in a future release. supported at this time, but support will be removed in a future release.
The [Overlay2 storage driver](https://docs.docker.com/storage/storagedriver/overlayfs-driver/) is now the default for Docker engine implementations. The [Overlay2 storage driver](../../storage/storagedriver/overlayfs-driver.md) is now the default for Docker engine implementations.
For more information on the list of deprecated flags and APIs, have a look at the [deprecation information](https://docs.docker.com/engine/deprecated/) where you can find the target removal dates. For more information on the list of deprecated flags and APIs, have a look at the [deprecation information](/engine/deprecated/) where you can find the target removal dates.
### End of Life Notification ### End of Life Notification

View File

@ -619,7 +619,7 @@ support for v2 schema1 althogether. [moby/moby#39365](https://github.com/moby/mo
* Removed support for 17.09. * Removed support for 17.09.
For more information on deprecated flags and APIs, refer to For more information on deprecated flags and APIs, refer to
https://docs.docker.com/engine/deprecated/ for target removal dates. [deprecation information](/engine/deprecated/) for target removal dates.
### Known issues ### Known issues

View File

@ -329,5 +329,5 @@ Further documentation for all CLI commands used in this article are available he
- [`kubectl get`](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get) - [`kubectl get`](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get)
- [`kubectl logs`](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs) - [`kubectl logs`](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs)
- [`kubectl delete`](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#delete) - [`kubectl delete`](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#delete)
- [`docker swarm init`](https://docs.docker.com/engine/reference/commandline/swarm_init/) - [`docker swarm init`](/engine/reference/commandline/swarm_init/)
- [`docker service *`](https://docs.docker.com/engine/reference/commandline/service/) - [`docker service *`](/engine/reference/commandline/service/)

View File

@ -90,8 +90,8 @@ In addition to deploying to Swarm, we have also described our application as a s
Further documentation for all new Swarm objects and CLI commands used in this article are available here: Further documentation for all new Swarm objects and CLI commands used in this article are available here:
- [Swarm Mode](https://docs.docker.com/engine/swarm/) - [Swarm Mode](../engine/swarm/index.md)
- [Swarm Mode Services](https://docs.docker.com/engine/swarm/how-swarm-mode-works/services/) - [Swarm Mode Services](../engine/swarm/how-swarm-mode-works/services.md)
- [Swarm Stacks](https://docs.docker.com/engine/swarm/stack-deploy/) - [Swarm Stacks](../engine/swarm/stack-deploy.md)
- [`docker stack *`](https://docs.docker.com/engine/reference/commandline/stack/) - [`docker stack *`](/engine/reference/commandline/stack/)
- [`docker service *`](https://docs.docker.com/engine/reference/commandline/service/) - [`docker service *`](/engine/reference/commandline/service/)

View File

@ -26,7 +26,7 @@ file system objects required.
To complete this tutorial, you need the following: To complete this tutorial, you need the following:
- Go version 1.16 or later. You might want to [download and install Go](https://golang.org/dl/) first. - Go version 1.16 or later. You might want to [download and install Go](https://golang.org/dl/) first.
- Docker running locally. Follow the instructions to [download and install Docker](https://docs.docker.com/desktop/). - Docker running locally. Follow the instructions to [download and install Docker](../../desktop/index.md).
- An IDE or a text editor to edit files. We recommend using [Visual Studio Code](https://code.visualstudio.com/){: target="_blank" rel="noopener" class="_"}. - An IDE or a text editor to edit files. We recommend using [Visual Studio Code](https://code.visualstudio.com/){: target="_blank" rel="noopener" class="_"}.
## Meet the example application ## Meet the example application
@ -153,7 +153,7 @@ When we have used that `FROM` command, we told Docker to include in our image al
> **Note** > **Note**
> >
> If you want to learn more about creating your own base images, see [creating base images](https://docs.docker.com/develop/develop-images/baseimages/) section of the guide. > If you want to learn more about creating your own base images, see [creating base images](../../develop/develop-images/baseimages.md) section of the guide.
To make things easier when running the rest of our commands, lets create a To make things easier when running the rest of our commands, lets create a
directory _inside_ the image that we are building. This also instructs Docker directory _inside_ the image that we are building. This also instructs Docker

View File

@ -79,7 +79,7 @@ Docker images can be inherited from other images. Therefore, instead of creating
> **Note** > **Note**
> >
> To learn more about creating your own base images, see [Creating base images](https://docs.docker.com/develop/develop-images/baseimages/). > To learn more about creating your own base images, see [Creating base images](../../develop/develop-images/baseimages.md).
To make things easier when running the rest of our commands, lets create a working directory. This instructs Docker to use this path as the default location for all subsequent commands. By doing this, we do not have to type out full file paths but can use relative paths based on the working directory. To make things easier when running the rest of our commands, lets create a working directory. This instructs Docker to use this path as the default location for all subsequent commands. By doing this, we do not have to type out full file paths but can use relative paths based on the working directory.

View File

@ -395,7 +395,7 @@ example also uses Linux hosts, but the same commands work on Windows.
The two containers communicate with the overlay network connecting the two The two containers communicate with the overlay network connecting the two
hosts. If you run another alpine container on `host2` that is _not detached_, hosts. If you run another alpine container on `host2` that is _not detached_,
you can ping `alpine1` from `host2` (and here we add the you can ping `alpine1` from `host2` (and here we add the
[remove option](https://docs.docker.com/engine/reference/run/#clean-up---rm) for automatic container cleanup): [remove option](/engine/reference/run/#clean-up---rm) for automatic container cleanup):
```sh ```sh
$ docker run -it --rm --name alpine3 --network test-net alpine $ docker run -it --rm --name alpine3 --network test-net alpine

View File

@ -61,8 +61,8 @@ repository.
We've made it really easy for you to file new issues. We've made it really easy for you to file new issues.
- Click **New issue** on the docs repository and fill in the details, or - Click **New issue** on the docs repository and fill in the details, or
- Click **Request docs changes** in the right column of every page on - Click **Request docs changes** in the right column of every page
docs.docker.com and add the details. and add the details.
![Docs feedback on each page](/opensource/images/docs-site-feedback.png) ![Docs feedback on each page](/opensource/images/docs-site-feedback.png)

View File

@ -29,7 +29,7 @@ Disallow: /ee/
Disallow: /apidocs/v* Disallow: /apidocs/v*
Sitemap: https://docs.docker.com/sitemap.xml Sitemap: {{ site.docs_url }}/sitemap.xml
{%- else -%} {%- else -%}
# Disable all indexing on staging websites and Netlify previews to prevent # Disable all indexing on staging websites and Netlify previews to prevent
# them showing up in search results. # them showing up in search results.