mirror of https://github.com/docker/docs.git
Merge pull request #16097 from crazy-max/fix-absolute-links
remove absolute links
This commit is contained in:
commit
158743a12c
|
|
@ -23,7 +23,7 @@ Create a GitHub repository and configure the Docker Hub secrets.
|
|||
3. Create a new secret named `DOCKER_HUB_USERNAME` and your Docker ID as value.
|
||||
|
||||
4. Create a new
|
||||
[Personal Access Token (PAT)](https://docs.docker.com/docker-hub/access-tokens/#create-an-access-token)
|
||||
[Personal Access Token (PAT)](/docker-hub/access-tokens/#create-an-access-token)
|
||||
for Docker Hub. You can name this token `clockboxci`.
|
||||
|
||||
5. Add the PAT as a second secret in your GitHub repository, with the name
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@
|
|||
<p><a href="/build/building/multi-stage/">Multi-stage builds</a></p>
|
||||
</div></div></div>
|
||||
<div id="features" class="tab-pane fade" markdown="1">
|
||||
<p><a href="https://docs.docker.com/support/"target="_blank" rel="noopener">Get support</a></p>
|
||||
<p><a href="/support/"target="_blank" rel="noopener">Get support</a></p>
|
||||
<p><a href="https://dockercommunity.slack.com/"target="_blank" rel="noopener">Docker community Slack</a></p>
|
||||
<p><a href="https://www.docker.com/company/contact/"target="_blank" rel="noopener">Contact Docker</a></dp>
|
||||
<p></a></p>
|
||||
|
|
@ -154,17 +154,17 @@
|
|||
<div class="col-xs-12 col-md-6 col-lg-6">
|
||||
<h6 style="margin-top: 0;">Common FAQs</h6>
|
||||
<p><a href="https://github.com/docker/for-linux">What are the system requirements for Docker Desktop?</a></p>
|
||||
<p><a href="https://docs.docker.com/desktop/install/windows-install/#system-requirements">Where can I find example Compose files?</a></p>
|
||||
<p><a href="https://docs.docker.com/desktop/install/windows-install/#system-requirements"> <p><a href="https://docs.docker.com/desktop/faqs/general/">How do I connect to a container service?</a></p></a></p>
|
||||
<p><a href="https://docs.docker.com/get-started/04_sharing_app/">How do I share images on Docker Hub?</a></p></a></p>
|
||||
<p><a href="/desktop/install/windows-install/#system-requirements">Where can I find example Compose files?</a></p>
|
||||
<p><a href="/desktop/install/windows-install/#system-requirements"> <p><a href="/desktop/faqs/general/">How do I connect to a container service?</a></p></a></p>
|
||||
<p><a href="/get-started/04_sharing_app/">How do I share images on Docker Hub?</a></p></a></p>
|
||||
</div>
|
||||
<div class="col-xs-12 col-md-6 col-lg-6">
|
||||
<h6 style="margin-top: 0;">Products</h6>
|
||||
<p><a href="https://docs.docker.com/desktop/faqs/general/">Docker Desktop</a></p>
|
||||
<p><a href="https://docs.docker.com/desktop/faqs/macfaqs/">Docker Desktop for Mac</a></p>
|
||||
<p><a href="https://docs.docker.com/desktop/faqs/windowsfaqs/">Docker Desktop for Windows</a></p>
|
||||
<p><a href="https://docs.docker.com/desktop/faqs/linuxfaqs/">Docker Desktop for Linux</a></p>
|
||||
<p><a href="https://docs.docker.com/single-sign-on/faqs/">Docker Single Sign-on</a></p>
|
||||
<p><a href="/desktop/faqs/general/">Docker Desktop</a></p>
|
||||
<p><a href="/desktop/faqs/macfaqs/">Docker Desktop for Mac</a></p>
|
||||
<p><a href="/desktop/faqs/windowsfaqs/">Docker Desktop for Windows</a></p>
|
||||
<p><a href="/desktop/faqs/linuxfaqs/">Docker Desktop for Linux</a></p>
|
||||
<p><a href="/single-sign-on/faqs/">Docker Single Sign-on</a></p>
|
||||
<p></a></p></div></div></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -386,7 +386,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-6 col-md-4 card-holder">
|
||||
<a href="https://docs.docker.com/get-started/" class="card" target="_blank" rel="noopener">
|
||||
<a href="/get-started/" class="card" target="_blank" rel="noopener">
|
||||
<h5 class="title">Tutorial</h5>
|
||||
<p>Self-paced tutorials to increase your Docker knowledge.</p>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ COPY . /src
|
|||
```
|
||||
|
||||
You can also create a
|
||||
[`.dockerignore` file](https://docs.docker.com/engine/reference/builder/#dockerignore-file),
|
||||
[`.dockerignore` file](../../../engine/reference/builder.md#dockerignore-file),
|
||||
and use that to specify which files and directories to exclude from the build
|
||||
context.
|
||||
|
||||
|
|
|
|||
|
|
@ -81,9 +81,9 @@ const containers = await ddClient.docker.listContainers();
|
|||
|
||||
#### Parameters
|
||||
|
||||
| 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). |
|
||||
| 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](../../../../../../engine/api/v1.37.md#operation/ContainerList). |
|
||||
|
||||
#### Returns
|
||||
|
||||
|
|
@ -103,9 +103,9 @@ const images = await ddClient.docker.listImages();
|
|||
|
||||
#### Parameters
|
||||
|
||||
| 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). |
|
||||
| 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](../../../../../../engine/api/v1.37.md#tag/Image). |
|
||||
|
||||
#### Returns
|
||||
|
||||
|
|
|
|||
|
|
@ -89,9 +89,9 @@ const containers = await window.ddClient.listContainers();
|
|||
|
||||
#### Parameters
|
||||
|
||||
| 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). |
|
||||
| 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](../../../../../../engine/api/v1.37.md#operation/ContainerList). |
|
||||
|
||||
#### Returns
|
||||
|
||||
|
|
@ -119,9 +119,9 @@ const images = await window.ddClient.listImages();
|
|||
|
||||
#### Parameters
|
||||
|
||||
| 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). |
|
||||
| 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](../../../../../../engine/api/v1.37.md#tag/Image). |
|
||||
|
||||
#### Returns
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ Docker Desktop conveniently provides the user with a local preconfigured `kubeco
|
|||
|
||||
If your extension needs to interact with Kubernetes clusters, it is recommended that you include the `kubectl` command line tool as part of your extension. By doing this, users who install your extension get `kubectl` installed in their host.
|
||||
|
||||
To find out how to ship the `kubectl` command line tool for multiple platforms as part of your Docker Extension image, see [Build multi-arch extensions](https://docs.docker.com/desktop/extensions-sdk/extensions/multi-arch/#adding-multi-arch-binaries).
|
||||
To find out how to ship the `kubectl` command line tool for multiple platforms as part of your Docker Extension image, see [Build multi-arch extensions](../../../desktop/extensions-sdk/extensions/multi-arch.md#adding-multi-arch-binaries).
|
||||
|
||||
## Examples
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ For frequently asked questions about Docker Desktop releases, see [FAQs](faqs/ge
|
|||
|
||||
- [Docker Scan v0.21.0](https://github.com/docker/scan-cli-plugin/releases/tag/v0.21.0)
|
||||
- [Go 1.19.2](https://github.com/golang/go/releases/tag/go1.19.2) to address [CVE-2022-2879](https://www.cve.org/CVERecord?id=CVE-2022-2879){: target="_blank" rel="noopener"}, [CVE-2022-2880](https://www.cve.org/CVERecord?id=CVE-2022-2880){: target="_blank" rel="noopener"} and [CVE-2022-41715](https://www.cve.org/CVERecord?id= CVE-2022-41715){: target="_blank" rel="noopener"}
|
||||
- Updated Docker Engine and Docker CLI to [v20.10.20](https://docs.docker.com/engine/release-notes/#201020),
|
||||
- Updated Docker Engine and Docker CLI to [v20.10.20](../engine/release-notes/index.md#201020),
|
||||
which contain mitigations against a Git vulnerability, tracked in [CVE-2022-39253](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39253){:target="_blank" rel="noopener"},
|
||||
and updated handling of `image:tag@digest` image references, as well as a fix for [CVE-2022-36109](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-36109).
|
||||
- [Docker Credential Helpers v0.7.0](https://github.com/docker/docker-credential-helpers/releases/tag/v0.7.0){: target="blank" rel="noopener" class=""}
|
||||
|
|
|
|||
|
|
@ -19,11 +19,11 @@ The following API routes within the v1 path will no longer work and will return
|
|||
|
||||
If you want to continue using the Docker Hub API in your current applications, update your clients to use v2 endpoints.
|
||||
|
||||
| **OLD** | **NEW** |
|
||||
| -------------- | ------------ |
|
||||
| [/v1/repositories/{name}/images](https://github.com/moby/moby/blob/v1.3.0/docs/sources/reference/api/docker-io_api.md#list-user-repository-images)| [/v2/namespaces/{namespace}/repositories/{repository}/images](https://docs.docker.com/docker-hub/api/latest/#tag/images/operation/GetNamespacesRepositoriesImages)|
|
||||
| [/v1/repositories/{namespace}/{name}/images](https://github.com/moby/moby/blob/v1.3.0/docs/sources/reference/api/docker-io_api.md#list-user-repository-images)| [/v2/namespaces/{namespace}/repositories/{repository}/images](https://docs.docker.com/docker-hub/api/latest/#tag/images/operation/GetNamespacesRepositoriesImages)|
|
||||
| [/v1/repositories/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags)| [/v2/namespaces/{namespace}/repositories/{repository}/tags](/docker-hub/api/latest/#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags/get)|
|
||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags)| [/v2/namespaces/{namespace}/repositories/{repository}/tags](/docker-hub/api/latest/#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags/get)|
|
||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag)| [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](/docker-hub/api/latest/#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags~1%7Btag%7D/get)|
|
||||
| [/v1/repositories/{namespace}/{name}/tags/{tag_name}](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag)| [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](/docker-hub/api/latest/#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags~1%7Btag%7D/get)|
|
||||
| **OLD** | **NEW** |
|
||||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| [/v1/repositories/{name}/images](https://github.com/moby/moby/blob/v1.3.0/docs/sources/reference/api/docker-io_api.md#list-user-repository-images) | [/v2/namespaces/{namespace}/repositories/{repository}/images](../../docker-hub/api/latest.md#tag/images/operation/GetNamespacesRepositoriesImages) |
|
||||
| [/v1/repositories/{namespace}/{name}/images](https://github.com/moby/moby/blob/v1.3.0/docs/sources/reference/api/docker-io_api.md#list-user-repository-images) | [/v2/namespaces/{namespace}/repositories/{repository}/images](../../docker-hub/api/latest.md#tag/images/operation/GetNamespacesRepositoriesImages) |
|
||||
| [/v1/repositories/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags) | [/v2/namespaces/{namespace}/repositories/{repository}/tags](../../docker-hub/api/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags/get) |
|
||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#list-repository-tags) | [/v2/namespaces/{namespace}/repositories/{repository}/tags](../../docker-hub/api/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags/get) |
|
||||
| [/v1/repositories/{namespace}/{name}/tags](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag) | [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](../../docker-hub/api/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags~1%7Btag%7D/get) |
|
||||
| [/v1/repositories/{namespace}/{name}/tags/{tag_name}](https://github.com/moby/moby/blob/v1.8.3/docs/reference/api/registry_api.md#get-image-id-for-a-particular-tag) | [/v2/namespaces/{namespace}/repositories/{repository}/tags/{tag}](../../docker-hub/api/latest.md#tag/repositories/paths/~1v2~1namespaces~1%7Bnamespace%7D~1repositories~1%7Brepository%7D~1tags~1%7Btag%7D/get) |
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ Before deactivating your Docker Hub account, please complete the following:
|
|||
|
||||
In Docker Hub, navigate to **_Your Account_** > **Account Settings** > **Billing**.
|
||||
|
||||
5. Unlink your [Github and Bitbucket accounts](https://docs.docker.com/docker-hub/builds/link-source/#unlink-a-github-user-account).
|
||||
5. Unlink your [Github and Bitbucket accounts](../docker-hub/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**.
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ Before deactivating an organization, please complete the following:
|
|||
|
||||
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](../docker-hub/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**.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue