名稱
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。
詳情請參閱 gcloud CLI 參考資料總覽頁面。