To configure Docker authentication after signing in to the gdcloud CLI, run:
gdcloud auth configure-docker
選用旗標
--config-cert If true, enable docker certificate configuration. It is optional, and false by default.
--use-ip-port If true, the direct IP port URL is used for artifacts upload instead of DNS. It is optional. (default true)
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-04 (世界標準時間)。"],[[["\u003cp\u003eThe \u003ccode\u003egdcloud auth configure-docker\u003c/code\u003e command configures Docker authentication after signing into the gdcloud CLI.\u003c/p\u003e\n"],["\u003cp\u003eDocker certificate configuration can be enabled with the \u003ccode\u003e--config-cert\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eDirect IP port URLs can be used for artifact uploads instead of DNS by using the \u003ccode\u003e--use-ip-port\u003c/code\u003e flag, which is enabled by default.\u003c/p\u003e\n"],["\u003cp\u003eThis command can be run standalone with no optional flags or arguments, by calling \u003ccode\u003egdcloud auth configure-docker\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# gdcloud auth configure-docker\n\nNAME\n----\n\ngdcloud auth configure-docker - Configure Docker authentication after signing in to the gdcloud CLI.\n\nSYNOPSIS\n--------\n\n gdcloud auth configure-docker [flags]\n\nDESCRIPTION\n-----------\n\nConfigure Docker authentication after signing in to the gdcloud CLI.\nYou can enable Docker certificate configuration.\nYou can specify the direct IP address port URL to use for artifact uploads instead of DNS.\n\n### EXAMPLES\n\n To configure Docker authentication after signing in to the gdcloud CLI, run:\n\n gdcloud auth configure-docker\n\n### OPTIONAL FLAGS\n\n --config-cert If true, enable docker certificate configuration. It is optional, and false by default.\n --use-ip-port If true, the direct IP port URL is used for artifacts upload instead of DNS. It is optional. (default true)\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]