You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何获取谷歌云Docker Machine镜像列表及旧版Debian镜像查找

查找Google Cloud上更早版本的Debian 10 Buster镜像

我来帮你搞定这个问题——要找到Google Cloud上更早版本的Debian 10 Buster镜像,最直接的方式就是用gcloud命令行工具来查询,步骤很简单:

  • 首先确保你已经安装并配置好gcloud CLI(如果还没完成初始化,先运行gcloud init完成配置),然后执行下面的命令:

    gcloud compute images list --filter="family=debian-10" --sort-by="~creationTimestamp"
    

    这个命令里的--filter="family=debian-10"会精准筛选出所有属于Debian 10家族的镜像,--sort-by="~creationTimestamp"则会按创建时间从新到旧排序,这样你就能在列表里找到更早的debian-10-buster-v*格式的镜像了。

  • 找到目标镜像名称后,你可以用以下命令查看它的详细信息,确认镜像状态是否可用:

    gcloud compute images describe debian-10-buster-v[具体版本号]
    

    比如你找到debian-10-buster-v20191105,就把命令里的[具体版本号]替换成20191105即可。

  • 最后,把你找到的旧版本镜像名称替换到docker-machine的创建命令中,示例如下:

    docker-machine create --driver google \
    --google-project my-project \
    --google-zone my-zone \
    --google-machine-image debian-cloud/global/images/debian-10-buster-v20191105 \
    machine-name
    

内容的提问来源于stack exchange,提问作者reflex0810

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.06 10:47:53