Gab*_*vay 10 docker gcloud google-kubernetes-engine google-container-registry
是否有gcloudAPI或其他命令行界面(CLI)来访问私有Google容器注册表中已发布容器图像的列表?(这是Google Cloud Platform项目中的容器注册表)
gcloud container 似乎没有帮助:
$ gcloud container
Usage: gcloud container [optional flags] <group | command>
group may be clusters | operations
command may be get-server-config
Deploy and manage clusters of machines for running containers.
flags:
--zone ZONE, -z ZONE The compute zone (e.g. us-central1-a) for the cluster
global flags:
Run `gcloud -h` for a description of flags available to all commands.
command groups:
clusters Deploy and teardown Google Container Engine clusters.
operations Get and list operations for Google Container Engine
clusters.
commands:
get-server-config Get Container Engine server config.
Run Code Online (Sandbox Code Playgroud)
我也不想用来gcloud docker列出图像,因为它想要连接到我没有的特定docker守护进程.除非有办法告诉gcloud docker连接到远程公共docker守护程序,它可以读取通过我的项目推送到注册表的私有容器.
dlo*_*enc 14
我们刚刚发布了一个新命令来列出存储库中的图像!您可以尝试使用:
gcloud alpha container images list --repository=gcr.io/$MYREPOSITORY
Run Code Online (Sandbox Code Playgroud)
如果要查看图像的特定标记,可以使用:
gcloud alpha container images list-tags gcr.io/$MYREPOSITORY/$MYIMAGE
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8104 次 |
| 最近记录: |