Tag: gsutil

gsutil:无法在www.googleapis.com上find服务器

在Docker for Mac 1.12.3上给出这个Dockerfile: FROM debian:jessie ENV DEBIAN_FRONTEND=noninteractive RUN \ apt-get update && \ apt-get install –no-install-recommends –fix-missing -y -q \ ca-certificates \ curl \ python \ python-openssl \ && \ apt-get clean autoclean && \ apt-get autoremove -y && \ rm -rf /var/lib/{apt,dpkg,cache,log}/ ENV GOOGLE_CLOUD_SDK=/google-cloud-sdk ENV PATH=$PATH:$GOOGLE_CLOUD_SDK/bin RUN \ export GOOGLE_SDK_URL=https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-134.0.0-linux-x86_64.tar.gz && \ mkdir […]

谷歌gsutil auth没有提示

我想在Docker容器中使用gsutil。 我已经创build了O2Auth服务帐户JSON文件。 我如何设置gsutil身份validation使用JSONconfiguration文件并执行命令而不提示? 目前我得到这样的东西: $ gsutil config -e It looks like you are trying to run "/…/google-cloud-sdk/bin/bootstrapping/gsutil.py config". The "config" command is no longer needed with the Cloud SDK. To authenticate, run: gcloud auth login Really run this command? (y/N) y This command will create a boto config file at /…/.boto containing your credentials, based […]