NAME
gdcloud auth configure-docker - 登录 gdcloud CLI 后配置 Docker 身份验证。
SYNOPSIS
gdcloud auth configure-docker [flags]
说明
登录 gdcloud CLI 后配置 Docker 身份验证。 您可以启用 Docker 证书配置。 您可以指定直接 IP 地址端口网址,以用于工件上传,而不是 DNS。
示例
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)
GDCLOUD 范围标志
所有命令都可以使用以下标志:--configuration、--format、--help、--project、--quiet。
如需了解详情,请参阅gdcloud CLI 参考文档概览页面。