王海庆的云笔记

shell命令循环操作


命令

images=(
            heapster-grafana-amd64:v5.0.4
            heapster-amd64:v1.5.4
            heapster-influxdb-amd64:v1.5.2
        )
for imageName in ${images[@]} ; do
    docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/$imageName
done


文章最后更新时间: 2020-06-28 17:02:19