containerd / containerd/nerdctl
Add mirror config support at nerdctl.toml
- Dominant language
- Go
- Stars
- 10.4k
- Forks
- 826
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 44
Description
### What is the problem you're trying to solve
When I set the image mirror, I need to maintain many configs.
```bash
➜ nerdctl tree
.
├── buildkit
│ └── buildkitd.toml
├── containerd
│ └── certs.d
│ ├── docker.io
│ │ └── hosts.toml
│ ├── gcr.io
│ │ └── hosts.toml
│ └── quay.io
│ └── hosts.toml
└── nerdctl.toml
```
### Describe the solution you'd like
Add mirror config support at nerdctl.yaml like the `registries.yaml` of k3s
```yaml
mirrors:
"docker.io":
endpoint:
- "https://xxxx.mirror.aliyuncs.com"
- "https://mirrors.example.com"
"quay.io":
endpoint:
- "https://mirrors.example.com"
"gcr.io":
endpoint:
- "https://mirrors.example.com"
```
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.