These instructions are to create a local, named Docker volume that stores authenticated Google service account credentials, for mounting to local Docker containers. This setup should only be required once, as the volume persists even after connected containers are stopped/removed.
TREAT THIS VOLUME AS CREDENTIALS. The volume stores sensitive information and should never leave your local machine.
Steps
- Create the service account credentials file to authenticate google services.
This file should be saved in~/.config/gcloud/
on Mac/Linux,