Skip to content

Commit 9eeb60e

Browse files
committed
docs: add private registry documentation
Signed-off-by: Tomas Kral <tkral@redhat.com> Assisted-by: Claude Code
1 parent 7086b28 commit 9eeb60e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,28 @@ To load dynamic plugins from your local machine:
118118
- If no override file is present, `configs/dynamic-plugins/dynamic-plugins.yaml` will be used.
119119
4. See [Changing Your Configuration](#changing-your-configuration) for more on updating and reloading configs.
120120
121+
## Accessing Private Container Registries
122+
123+
If you need to install dynamic plugins from private container registries, you can mount your local container credentials into the `install-dynamic-plugins` service. This allows the plugin installer to authenticate with private registries using the credentials you already have configured on your system.
124+
125+
Add the following volume to the `install-dynamic-plugins` service in `compose.yaml`:
126+
127+
```yaml
128+
install-dynamic-plugins:
129+
volumes:
130+
# ... existing volumes ...
131+
- ~/.config/containers/auth.json:/opt/app-root/src/.config/containers/auth.json:Z
132+
```
133+
134+
This mounts your local `auth.json` file (which contains credentials for container registries like `registry.redhat.io`, `quay.io`, etc.) into the container. The credentials are typically created when you run `podman login` or `docker login`.
135+
136+
> **NOTE**: The location of `auth.json` may vary depending on your system configuration. Common locations include:
137+
>
138+
> - `~/.config/containers/auth.json` (Podman default)
139+
> - `~/.docker/config.json` (Docker default)
140+
>
141+
> Adjust the source path accordingly based on your container runtime.
142+
121143
## Changing The Container Image
122144
123145
You can switch between RHDH and Janus-IDP by changing the container image name hold by the `RHDH_IMAGE` environment variable in your `.env` file.

0 commit comments

Comments
 (0)