document howto set gitlab registry authentication

This commit is contained in:
Joerg Lehmann 2022-12-30 12:14:34 +01:00
parent 9bd494567f
commit 40d33b682f
1 changed files with 13 additions and 0 deletions

View File

@ -193,6 +193,19 @@ Set Defaults:
containers$ cat ~/.config/containers/containers.conf
[network]
network_backend = "netavark"
Credentials for Gitlab Registry should be available after Reboot
# User: drpuur, Password: Token from Gitlab (glpat-L5fU-_eZ6u74-3a8Jsnn)
[containers@onyx-dev ~]$ podman login registry.gitlab.com
Username: drpuur
Password:
Login Succeeded!
[containers@onyx-dev ~]$ cp /run/user/1000/containers/auth.json ~/.config/containers/auth.json
```
### Setup Traefik