Hello,
I'm trying to use LTSS container from SuSE registry, this one
https://registry.suse.com/repositories/suse-ltss-sle12-5-sles12sp5
The instructions in
https://documentation.suse.com/container/all/single-html/Container-guide/#container-ltss-images
say how to login:
$ cat /etc/zypp/credentials.d/SCCcredentials
username=SCC_xxxxxxxxx
password=85xxxxxxxxx
...
$ echo '85xxxxxxxx' | podman login -u 'SCC_xxxxxxxx' --password-stdin registry.suse.com
Login Succeeded!
This login creates a file
$ ls -l /run/user/1000/containers/auth.json
-rw------- 1 cups root 133 27. Jan 07:41 /run/user/1000/containers/auth.json
I copied this over to:
$ cp -p /run/user/1000/containers/auth.json ~/.config/containers/auth.json
and set:
$ export REGISTRY_AUTH_FILE=/home/cups/.config/containers/auth.json
but it does not works, at least not how I would expect it:
$ podman build -t sles10-sp3-v41pl2 sles10-sp3-v41pl2
STEP 1/22: FROM registry.suse.com/suse/ltss/sle12.5/sles12sp5:latest
Trying to pull registry.suse.com/suse/ltss/sle12.5/sles12sp5:latest...
Error: creating build container: initializing source docker://registry.suse.com/suse/ltss/sle12.5/sles12sp5:latest: reading manifest latest in registry.suse.com/suse/ltss/sle12.5/sles12sp5: requested access to the resource is denied
also this doesn't work:
$ podman build --creds=SCC_xxxxxxxx:85xxxxxxxx -t sles10-sp3-v41pl2 sles10-sp3-v41pl2
https://registry.suse.com/repositories/suse-ltss-sle12-5-sles12sp5
gives: registry.suse.com/suse/ltss/sle12.5/sles12sp5:latest
but inspect says:
$ podman inspect registry.suse.com/suse/ltss/sle12.5/sles12sp5:latest
Error: no such object: "registry.suse.com/suse/ltss/sle12.5/sles12sp5:latest"
What I'm doing wrong here?
Thanks
matthias
--
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io