I’m trying to follow the guidelines setup here:
I created a new project in GCP, I enabled billing, I created a service account and granted it the role of Owner and a different service with the RoleWriter role.
It doesn’t matter which role i try to use, i also have the following
sudo systemctl daemon-reload && sudo systemctl restart docker
Now, in order to test this i run the following:
docker run -d --log-driver=gcplogs --log-opt gcp-project=docker-test hello-world
docker: Error response from daemon: failed to initialize logging driver: unable to connect or authenticate with Google Cloud Logging: rpc error: code = PermissionDenied desc = The caller does not have permission.
What am I missing ?