Docker Community Forums

Share and learn in the Docker community.

Cannot create docker machine


(Sanketclearblade) #1

Hello there,

I have two projects on google cloud. I have a VM running in one of the projects running docker swarm. In the other project I have another VM. In this VM I’ve authenticated gcloud with the other project. I’m trying to connect to the remote docker host in the other project from this VM but its failing. I get this error:

Error with pre-create check: “Project with ID “my-project-id” not found. googleapi: Error 403: Insufficient Permission, insufficientPermissions”

Here’s my docker-machine create command:

docker-machine create --driver google --google-address=IP address of VM --google-username=username --google-use-existing --google-project my-project-id dev

Please advise.

Thanks