Unable to authenticate the Pega Docker Registry: pega-docker.downloads.pega.com with Pega Provided Credentials (from Pega Software Downloads Page).
Steps Followed:
-
Got the reg ID and Password from Pega
-
Using below Echo command, base64 encoded ID and Password updated in config.json file in .docker directory.
Command: echo -n reg-ID:password | base64 from Linux / Putty / Ubuntu to encode the user ID and password with base64
- Tried Ran the below commands but getting Bad Credentials / Status 401 error
docker login -u -p pega-docker.downloads.pega.com/platform/pega:8.8.3
curl -u reg-ID:access-token https://pega-docker.downloads.pega.com/v2/_catalog
docker pull pega-docker.downloads.pega.com/platform/pega:8.8.3
curl -u reg-ID:access-token https://pega-docker.downloads.pega.com/v2/platform/pega/tags/list
@Kishore Sanagapalli
Root-Cause: Found that Issue with API Key and Docker Daemon.
Actions Performed:
-
Reset the API Key and received a new ID and Key from Pega.
-
Restarted Docker Daemon
Next Actions Performed to save the images locally:
-
docker login -u -p pega-docker.downloads.pega.com
-
docker pull pega-docker.downloads.pega.com/
-
Run docker images command to check the pulled image name
-
Run docker save image-name > image.tar will save your required image in your local machine.
Note: Check docker save | Docker Docs, if you need more information on docker save command and options.
Arvind
(Arvind Balakrishnan)
3
@Kishore Sanagapalli how do you get the username and password ?
@Arvind
Digital Delivery option from Pega Platform page.
Arvind
(Arvind Balakrishnan)
5
@Kishore Sanagapalli Yes, that gives User Id and API Key … by password do you mean the API KEY?