Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Overview

...

  • An authorized account to Google Cloud

  • Cloud SDK installed with the authorized account to Google Cloud

  •  Docker Docker installed

  • Make sure Google Cloud SDK is your docker helper. If you didn't run it before, you can do that with the command
    gcloud auth configure-docker 

  • Google Container Registry API in Cloud Console is enabled, and you can pull images from Google Container Registry

  • User is already logged in the account in order to have access to cloud repositories:
    gcloud auth login

...

Linux/Unix

Run the following commands from the Linux/Unix bash prompt :

...

Parameter

Input 

Default Value

Description

docker.gcr.enable 

true or false

false

Enable/Disable google container registry resolving.

docker.gcr.account

account mail

Empty String

Not mandatory. Specifies which account to set active and work on, cloud SDK can have multiple logged in accounts but may have only one active.
One account is always active by default. Otherwise, commands will not work.

docker.gcr.repositories

Host-Name/Project-Id

Empty List

A list of repositories separated by comma. If empty, it will use the default repository.

Example value:
gcr.io/whitesource-main,gcr.io/whitesource-johnsmith

Run the Unified Agent

Run the Unified Agent with the modified configuration file via this command:

Run FSA
Code Block
languagebash
java -jar wss-unified-agent.jar -apiKey xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx -c wss-unified-agent.config

...