Configuring Docker authentication
Set up the first download of a Docker image from a Pega repository by configuring a
Docker authentication config.json
file. This configuration is required
when installing the Constellation UI Service with Docker for the first time.
- In a Linux bash shell with root privileges, in the
/home/<Linux_username>/
folder, create a.docker
directory. - In the
/home/<Linux_username>/.docker/
folder, create aconfig.json
file. - In the terminal window, encode your user ID and API access key in
base64 by entering echo
-n'<ID> :<key>' |
base64The variables have the following values:
<ID> is the user ID that you receive in an email from Pega Delivery. <key> is the access key that you receive in an email from Pega Delivery. - In the
config.json
file that you created in step 2, enter the following code:{ "auths": { "pega-docker.downloads.pega.com": { "auth": "<encoded_ID_and_key>" } } }
<encoded_ID_and_key> is the string that you generated in step 3. - Save the file.
Previous topic Hybrid mode