add registry.yaml to docs (thanks @pojntfx)

This commit is contained in:
iwilltry42 2019-11-22 08:01:08 +01:00
parent 469b56c253
commit c3b799c6e2

View File

@ -109,6 +109,12 @@ First we need a place to store the config template: `mkdir -p /home/${USER}/.k3d
Create a file named `registries.yaml` in `/home/${USER}/.k3d` with following content:
```yaml
mirrors:
"registry.local:5000":
endpoint:
- http://registry.local:5000
```
#### Step 2 - Option 2: use `config.toml.tmpl` to directly modify the containerd config (all versions)