* Add indication to use docker create/run on port mapping #11420
Co-authored-by: Sebastiaan van Stijn <thaJeztah@users.noreply.github.com>
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
Signed-off-by: Maximillian Fan Xavier <maximillianfx@gmail.com>
This is a bit of a draft, but I came across this issue in the documentation. When I searched for `docker apt-get` I found this page and copy-pasted the first example, but then I remembered it's best practice to install all packages at once and after that clear the `lists` to minimize the image size. Putting the example with all best practices first might help newer docker users to produce smaller images.
We host multiple versions of the API reference. While older versions of the
API are still supported by the latest engine release, users should generally
refer to the latest version of the API.
This patch adds a "canonical" meta-tag to the API reference pages, and points
it to the latest version of the API.
Note that there's also a /engine/api/latest/ page, but I didn't pick that
URL, because it's a redirect to `/engine/api/v<current>/`, which Google
probably doesn't like.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
We generate the website with relative URLs to allow hosting the content
on preview domains.
However, the sitemap.xml should always contain absolute URLs (including
the domain name).
I couldn't find a way to configure the sitemap URL's separately, so using
the same hack we use for stripping URL's in the HTML.
Before this, the sitemap.xml would contain;
<url>
<loc>/engine/reference/commandline/volume_prune/</loc>
</url>
After this, the full URL is included
<url>
<loc>https://docs.docker.com/engine/reference/commandline/volume_prune/</loc>
</url>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Updated the Guides tab to open to the Get started page, instead of Develop with Docker.
- Moved Docker overview as the first entry in the Guides toc.
The `ENV key value` form can be ambiguous, for example, the following defines
a single env-variable (`ONE`) with value `"TWO= THREE=world"`:
ENV ONE TWO= THREE=world
While we cannot deprecate/remove that syntax (as it would break existing
Dockerfiles), we should reduce exposure of the format in our examples.
Also updating some code-blocks that were missing language-hints
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
`docker secret` creates secrets in AWS Secrets Manager Service - not in AWS Systems Manager Parameter Store Service. Note the `arn:aws:secretsmanager:...` reference in the existing example.
* Incorrect minimum required version.
Tried installing Docker Desktop on Windows Server 2016 build 14393 and got the error: Docker Desktop requires Windows 10 Pro/Enterprise (15063+) or Windows 10 home (19018+)
* Updated the wording
Removed the version numbers from Machine docs so users can refer to Desktop docs for info on Desktop system requirements.
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>
* Docker Desktop release notes: add clock_gettime64 known issue
See https://github.com/docker/for-win/issues/8326
Signed-off-by: David Scott <dave.scott@docker.com>
* Minor style update
* minor style update
* Minor style updte
* Minor style update
Co-authored-by: Usha Mandya <47779042+usha-mandya@users.noreply.github.com>