Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configure Repository Credentials

Use this procedure to configure your repository login credentials in your manifests.

  1. Install docker if you don't already have docker installed.
  2. Log in to the Juniper Networks repository where you pull the container images.
    In releases 22.1 and 22.2, it's hub.juniper.net:In releases 22.3 and higher, it's enterprise-hub.juniper.net:

    Enter your login credentials when prompted.

    Once you've logged in, your credentials are automatically stored in ~/.docker/config.json. (If you installed docker using snap, then the credentials are stored in the ~/snap/docker directory hierarchy.)

  3. Encode your credentials in base64 and store the resulting string.
  4. Replace the credentials placeholder in the manifests with the encoded string.
    The manifests have a <base64-encoded-credential> credentials placeholder. Simply replace the placeholder with the encoded string in all manifests.