Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Authentication errors running vaictl in container

I'm trying to run vaictl on OSX inside a docker container based on these Vertex AI Vision instructions, but hitting the following auth error:

 

root@dc89ced3ac47:/# vaictl -p backyard-camera -l us-central1 -c application-cluster-0 -v list streams
E1107 23:01:37.006251735     858 google_default_credentials.cc:434] Could not create google default credentials: {"created":"@1667862097.001779783","description":"Failed to load file","file":"external/com_github_grpc_grpc/src/core/lib/iomgr/load_file.cc","file_line":72,"filename":"/root/.config/gcloud/application_default_credentials.json","referenced_errors":[{"created":"@1667862097.001778260","description":"No such file or directory","errno":2,"file":"external/com_github_grpc_grpc/src/core/lib/iomgr/load_file.cc","file_line":45,"os_error":"No such file or directory","syscall":"fopen"}]}
E20221107 23:01:37.007882   858 resource_manager_app.cc:312] INVALID_ARGUMENT: Invalid credentials.; while listing streams; while listing streams

 

I've run gcloud auth login in the container and saved the authorization code.

Are there any extra steps needed to make this work?

0 1 281
1 REPLY 1

How did you reproduce the error? Can you provide the reproduction steps? Just so I can reproduce it on my end.