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"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003e\u003ccode\u003egdcloud auth configure-docker\u003c/code\u003e configures Docker authentication after signing into the \u003ccode\u003egdcloud\u003c/code\u003e 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\u003eUsing a direct IP port URL for artifact uploads instead of DNS is possible with the \u003ccode\u003e--use-ip-port\u003c/code\u003e flag.\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/appliance/resources/gdcloud-reference/gdcloud) page."]]