简体   繁体   中英

Google Cloud Authentification json keyfile

The following can be found in the manual: enter image description here Unfortunately, this leads under Windows after the second command to the following error message: docker login" requires at most 1 argument. See 'docker login --help'. Usage: docker login [OPTIONS] [SERVER]

can someone help me or does anyone have a workaround?

Make sure to replace the HTML entity &lt; with < and make sure to give the right path of the JSON key-file

Reference: GCR docs .

set /p PASS=<keyfile.json
docker login -u _json_key -p "%PASS%" https://gcr.io

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM