This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# --- 配置区 --- | |
# 1. 在这里填入你想要导出的所有镜像名称和标签 | |
# 格式: "repository:tag" | |
IMAGES_TO_EXPORT=( | |
"quay.io/ascend/vllm-ascend:v0.11.0rc0" | |
"onlyoffice/documentserver:8.3.0.1" | |
"milvusdb/milvus:hotfix-2.6.3-20251009-1afdd3e4-gpu-arm64" | |
"neo4j:5.26.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# --- **修改点** --- | |
# 脚本功能:下载一个镜像的 amd64 (x64) 和 arm64 (aarch64) 架构,并为每个架构打上独立的标签。 | |
if [ -z "$1" ]; then | |
echo "用法: $0 <image_name>:<tag>" | |
echo "例如: $0 nginx:latest" | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo "正在查询本地所有镜像的详细架构信息..." | |
echo "------------------------------------------------------------" | |
# 设置表头 | |
printf "%-50s %-20s %-15s\n" "REPOSITORY:TAG" "IMAGE ID" "ARCHITECTURE" | |
echo "------------------------------------------------------------" | |
# 使用 docker images --format 来获取每个独立镜像的 ID, Repository, 和 Tag | |
# 然后用 while read 逐行处理,这样最安全可靠 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
id: 1145140, | |
name: '自动签到', | |
version: 4, | |
author: 'zhang', | |
updateUrl: 'https://gist.githubusercontent.com/zhang0281/2573fa85ca51e449ce550f81f6f8a946/raw/gkd.json5', | |
checkUpdateUrl: 'https://gist.githubusercontent.com/zhang0281/2573fa85ca51e449ce550f81f6f8a946/raw/gkd.json5', | |
supportUri: 'https://github.com/zhang0281', | |
globalGroups: [], | |
categories: [], |