diff --git a/home/.zshrc.docker b/home/.zshrc.docker index d932129..5b666d2 100644 --- a/home/.zshrc.docker +++ b/home/.zshrc.docker @@ -127,3 +127,14 @@ function ctop { --volume /var/run/docker.sock:/var/run/docker.sock:ro \ quay.io/vektorlab/ctop } + +function gcloud { + docker run \ + --rm \ + -it \ + -e TERM=xterm-256color \ + -v $HOME/.config/gcloud/:/root/.config/gcloud/ \ + -v $HOME/.config/gcloud-ssh/:/root/.ssh/ \ + google/cloud-sdk \ + gcloud "$@" +}