From 61e3cb1ce11903b20b216fc2f0dce42e78eb5c38 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 5 Nov 2022 11:10:32 +0100 Subject: [PATCH] remove absolute links Signed-off-by: CrazyMax --- _includes/gha-tutorial.md | 2 +- _layouts/landing.html | 20 +++++++++---------- build/building/cache/index.md | 2 +- .../dev/api/reference/interfaces/Docker.md | 12 +++++------ .../interfaces/DockerDesktopClient.md | 12 +++++------ desktop/extensions-sdk/dev/kubernetes.md | 2 +- desktop/release-notes.md | 2 +- docker-hub/api/deprecated.md | 16 +++++++-------- docker-hub/deactivate-account.md | 4 ++-- 9 files changed, 36 insertions(+), 36 deletions(-) diff --git a/_includes/gha-tutorial.md b/_includes/gha-tutorial.md index 1b82ec8e23..3f51c7ba06 100644 --- a/_includes/gha-tutorial.md +++ b/_includes/gha-tutorial.md @@ -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 diff --git a/_layouts/landing.html b/_layouts/landing.html index 42f0c36765..50528990d0 100644 --- a/_layouts/landing.html +++ b/_layouts/landing.html @@ -144,7 +144,7 @@

Multi-stage builds

@@ -386,7 +386,7 @@
- +
Tutorial

Self-paced tutorials to increase your Docker knowledge.

diff --git a/build/building/cache/index.md b/build/building/cache/index.md index af098f5604..f6d063f99c 100644 --- a/build/building/cache/index.md +++ b/build/building/cache/index.md @@ -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. diff --git a/desktop/extensions-sdk/dev/api/reference/interfaces/Docker.md b/desktop/extensions-sdk/dev/api/reference/interfaces/Docker.md index 41e4bdbed6..b717789217 100644 --- a/desktop/extensions-sdk/dev/api/reference/interfaces/Docker.md +++ b/desktop/extensions-sdk/dev/api/reference/interfaces/Docker.md @@ -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 diff --git a/desktop/extensions-sdk/dev/api/reference/interfaces/DockerDesktopClient.md b/desktop/extensions-sdk/dev/api/reference/interfaces/DockerDesktopClient.md index 83b758bc02..4b0e5b749a 100644 --- a/desktop/extensions-sdk/dev/api/reference/interfaces/DockerDesktopClient.md +++ b/desktop/extensions-sdk/dev/api/reference/interfaces/DockerDesktopClient.md @@ -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 diff --git a/desktop/extensions-sdk/dev/kubernetes.md b/desktop/extensions-sdk/dev/kubernetes.md index 78816aee8a..2c67b13854 100644 --- a/desktop/extensions-sdk/dev/kubernetes.md +++ b/desktop/extensions-sdk/dev/kubernetes.md @@ -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 diff --git a/desktop/release-notes.md b/desktop/release-notes.md index f2971f15aa..d7a8aed4a8 100644 --- a/desktop/release-notes.md +++ b/desktop/release-notes.md @@ -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=""} diff --git a/docker-hub/api/deprecated.md b/docker-hub/api/deprecated.md index f3673e3978..d8a3029cf9 100644 --- a/docker-hub/api/deprecated.md +++ b/docker-hub/api/deprecated.md @@ -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) | diff --git a/docker-hub/deactivate-account.md b/docker-hub/deactivate-account.md index 710a437b18..681e8a0b02 100644 --- a/docker-hub/deactivate-account.md +++ b/docker-hub/deactivate-account.md @@ -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**.