A Google Cloud account
Some document to help you start with the Google Cloud CLI
To use the existing container instead of creating one, use docker exec command instead of docker run
docker exec -it my_devops_toolkit /bin/bashFor instructions on common run modes, visit DevOps Toolkit Common Run Mode.
docker run --rm -it -v ~/.dtc:/dtc tungbq/devops-toolkit:latest
# Login with gcloud CLI
gcloud auth login --no-launch-browser
### Copy the printed URL into a browser, sign in, then paste the verification code back into the terminal
# Set the active project
gcloud config set project <YOUR_PROJECT_ID>
# List Compute Engine instances
gcloud compute instances listSample Result
root@f097467db632:~# gcloud projects list
PROJECT_ID NAME PROJECT_NUMBER
your-project-id your-project 123456789012- For any issues, check this reference