Skip to content

Commit

Permalink
Merge pull request #997 from gaius-qi/feature/d7y
Browse files Browse the repository at this point in the history
docs: add dragonfly detailed documentation
  • Loading branch information
ktock authored Nov 11, 2022
2 parents f7b1242 + 46510e5 commit cb31531
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,21 @@ See [`./ipfs.md`](./ipfs.md)

### Dragonfly

See [the document in Dragonfly project for how to use dragonfly with eStargz](https://d7y.io/docs/setup/integration/stargz/).
Change the `/etc/containerd-stargz-grpc/config.toml` configuration to make dragonfly as registry mirror.
`127.0.0.1:65001` is the proxy address of dragonfly peer,
and the `X-Dragonfly-Registry` header is the address of origin registry,
which is provided for dragonfly to download the images.

```toml
[[resolver.host."docker.io".mirrors]]
host = "127.0.0.1:65001"
insecure = true
[resolver.host."docker.io".mirrors.header]
X-Dragonfly-Registry = ["https://index.docker.io"]
```

For more details about dragonfly as registry mirror,
refer to [How to use Dragonfly With eStargz](https://d7y.io/docs/setup/integration/stargz/).

## Registry-side conversion of eStargz

Expand Down

0 comments on commit cb31531

Please sign in to comment.