gdcloud auth configure-docker

名称

gdcloud auth configure-docker - 在登录 gdcloud CLI 后配置 Docker 身份验证。

摘要

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 参考概览页面。