feat: upgrade docusaurus to the latest version (#209)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
This commit is contained in:
parent
233595d004
commit
3cfc86dc5f
|
@ -6,7 +6,6 @@ description: The first native Linux mainline kernel supported solution for conta
|
|||
hide_table_of_contents: false
|
||||
---
|
||||
|
||||
|
||||
## The Evolution of the Nydus Image Acceleration
|
||||
|
||||
Optimized container images together with technologies such as P2P networks can effectively speed up the process of
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
title: Dragonfly integrates nydus for image acceleration practive
|
||||
author: Gaius
|
||||
author_title: Dragonfly Maintainer
|
||||
author_url: https://github.com/gaius-qi
|
||||
author_image_url: https://avatars.githubusercontent.com/u/15955374?s=96&v=4
|
||||
authors: gaius
|
||||
tags: [dragonfly, container image, OCI, nydus, containerd, cncf]
|
||||
description: Introduce how dragonfly integrates nydus to improve image download speed.
|
||||
hide_table_of_contents: false
|
||||
|
@ -490,7 +487,8 @@ In the best case, `dragonfly` can make the same task back-to-source download onl
|
|||
- Website: [https://d7y.io/](https://d7y.io/)
|
||||
- Github Repo: [https://github.com/dragonflyoss/dragonfly](https://github.com/dragonflyoss/dragonfly)
|
||||
- Slack Channel: [#dragonfly](https://cloud-native.slack.com/messages/dragonfly/) on [CNCF Slack](https://slack.cncf.io/)
|
||||
- Discussion Group: <dragonfly-discuss@googlegroups.com>
|
||||
- Discussion Group: [dragonfly-discuss@googlegroups.com](mailto:dragonfly-discuss@googlegroups.com)
|
||||
|
||||
- Twitter: [@dragonfly_oss](https://twitter.com/dragonfly_oss)
|
||||
|
||||
### Nydus community
|
||||
|
|
|
@ -47,7 +47,7 @@ Finally, we are grateful to the CNCF for funding this audit and supporting open
|
|||
- Website: [https://d7y.io/](https://d7y.io/)
|
||||
- Github Repo: [https://github.com/dragonflyoss/dragonfly](https://github.com/dragonflyoss/dragonfly)
|
||||
- Slack Channel: [#dragonfly](https://cloud-native.slack.com/messages/dragonfly/) on [CNCF Slack](https://slack.cncf.io/)
|
||||
- Discussion Group: <dragonfly-discuss@googlegroups.com>
|
||||
- Discussion Group: [dragonfly-discuss@googlegroups.com](mailto:dragonfly-discuss@googlegroups.com)
|
||||
- Twitter: [@dragonfly_oss](https://twitter.com/dragonfly_oss)
|
||||
|
||||
### Nydus community
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// @ts-check
|
||||
// Note: type annotations allow type checking and IDEs autocompletion
|
||||
|
||||
const codeTheme = require('prism-react-renderer/themes/dracula');
|
||||
|
||||
/** @type {import('@docusaurus/types').Config} */
|
||||
const config = {
|
||||
title: 'Dragonfly',
|
||||
|
@ -177,9 +175,6 @@ const config = {
|
|||
© ${new Date().getFullYear()} The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our <a href="https://www.linuxfoundation.org/trademark-usage/"> Trademark Usage</a> page.
|
||||
`,
|
||||
},
|
||||
prism: {
|
||||
theme: codeTheme,
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
[
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
[build.environment]
|
||||
NODE_VERSION = "20"
|
||||
NPM_FLAGS = "--version"
|
||||
|
|
18
package.json
18
package.json
|
@ -17,17 +17,19 @@
|
|||
"version": "./scripts/version.sh"
|
||||
},
|
||||
"dependencies": {
|
||||
"@docusaurus/core": "^2.4.0",
|
||||
"@docusaurus/plugin-content-docs": "^2.4.0",
|
||||
"@docusaurus/preset-classic": "^2.4.0",
|
||||
"@mdx-js/react": "^1.6.21",
|
||||
"@docusaurus/core": "^3.6.3",
|
||||
"@docusaurus/plugin-content-blog": "^3.6.3",
|
||||
"@docusaurus/plugin-content-docs": "^3.6.3",
|
||||
"@docusaurus/preset-classic": "^3.6.3",
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@types/react": "^18.0.0",
|
||||
"acorn": "^8.7.1",
|
||||
"clsx": "^2.0.0",
|
||||
"lottie-react": "^2.3.1",
|
||||
"lottie-web": "^5.9.6",
|
||||
"prism-react-renderer": "^1.2.1",
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1",
|
||||
"prism-react-renderer": "^2.1.0",
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-github-btn": "^1.2.1",
|
||||
"react-youtube": "^10.1.0",
|
||||
"three": "^0.171.0"
|
||||
|
@ -72,6 +74,6 @@
|
|||
"cheerio": "<1.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
"node": ">=18.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-chartsproject>.
|
||||
you can use [https://github.com/dragonflyoss/helm-chartsproject](https://github.com/dragonflyoss/helm-chartsproject).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-chartsproject>.
|
||||
you can use [https://github.com/dragonflyoss/helm-chartsproject](https://github.com/dragonflyoss/helm-chartsproject).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-chartsproject>.
|
||||
you can use [https://github.com/dragonflyoss/helm-chartsproject](https://github.com/dragonflyoss/helm-chartsproject).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-charts>.
|
||||
you can use [https://github.com/dragonflyoss/helm-charts](https://github.com/dragonflyoss/helm-charts).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-charts>.
|
||||
you can use [https://github.com/dragonflyoss/helm-charts](https://github.com/dragonflyoss/helm-charts).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-charts>.
|
||||
you can use [https://github.com/dragonflyoss/helm-charts](https://github.com/dragonflyoss/helm-charts).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-charts>.
|
||||
you can use [https://github.com/dragonflyoss/helm-charts](https://github.com/dragonflyoss/helm-charts).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -117,13 +117,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-charts>.
|
||||
you can use [https://github.com/dragonflyoss/helm-charts](https://github.com/dragonflyoss/helm-charts).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -73,9 +73,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -115,13 +115,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ if you need kubernetes related content, you can refer to [Quick Start: Helm Char
|
|||
|
||||
If you want to use Dragonfly to complete production-level image and file distribution in the production environment,
|
||||
please refer to the detailed production-level configuration parameters of supernode and dfget. If it is kubernetes,
|
||||
you can use <https://github.com/dragonflyoss/helm-charts>.
|
||||
you can use [https://github.com/dragonflyoss/helm-charts](https://github.com/dragonflyoss/helm-charts).
|
||||
|
||||
## Preconditions {#preconditions}
|
||||
|
||||
|
|
|
@ -73,9 +73,9 @@ version = 2
|
|||
|
||||
In this config, registry auth configuration needs to be based on `127.0.0.1:65001`.
|
||||
|
||||
> More details about Containerd configuration: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint>
|
||||
> More details about Containerd configuration: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/registry.md#configure-registry-endpoint).
|
||||
> Containerd has deprecated the above config from v1.4.0,
|
||||
> new format for reference: <https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration>
|
||||
> new format for reference: [https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration](https://github.com/containerd/containerd/blob/v1.5.2/docs/cri/config.md#registry-configuration).
|
||||
|
||||
### Option 2: Multiple Registries {#option-2-multiple-registries}
|
||||
|
||||
|
@ -115,13 +115,13 @@ server = "https://example.com"
|
|||
|
||||
##### Option 2: Generate hosts.toml automatically {#option-2-generate-hoststoml-automatically}
|
||||
|
||||
You can also generate hosts.toml with <https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh>
|
||||
You can also generate hosts.toml with [https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh](https://github.com/dragonflyoss/dragonfly/blob/main/hack/gen-containerd-hosts.sh).
|
||||
|
||||
```shell
|
||||
bash gen-containerd-hosts.sh example.com
|
||||
```
|
||||
|
||||
> More details about registry configuration: <https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples>
|
||||
> More details about registry configuration: [https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples](https://github.com/containerd/containerd/blob/main/docs/hosts.md#registry-configuration---examples).
|
||||
|
||||
## Step 3: Restart Containerd Daemon {#step-3-restart-containerd-daemon}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ We'll have to choose between Harbor, Distribution (Docker Hub), and Dragonfly.
|
|||
Vadim Bauer (Harbor, Distribution) and Allen Sun (Dragonfly) are going to help us choose the solution.
|
||||
|
||||
More information about the "Choose Your Own Adventure" project including the source code and
|
||||
links to all the videos can be found at <https://github.com/vfarcic/cncf-demo>.
|
||||
links to all the videos can be found at [https://github.com/vfarcic/cncf-demo](https://github.com/vfarcic/cncf-demo).
|
||||
|
||||
<!-- markdownlint-disable -->
|
||||
|
||||
|
|
Loading…
Reference in New Issue