Open siruoren opened 5 months ago
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
update
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/chrome:1.8.0-edge
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
kasmweb/chrome:1.8.0-edge
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/chrome:1.8.0-edge
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
registry.cn-hangzhou.aliyuncs.com/siruoren/switch-lan-play:latest
kasmweb/chrome:1.8.0-edge
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
spacemeowx2/switch-lan-play:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/chrome:1.8.0-edge
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
registry.cn-hangzhou.aliyuncs.com/siruoren/switch-lan-play:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/wg-easy:latest
kasmweb/chrome:1.8.0-edge
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
spacemeowx2/switch-lan-play:latest
ghcr.io/wg-easy/wg-easy:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/chrome:1.8.0-edge
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
registry.cn-hangzhou.aliyuncs.com/siruoren/switch-lan-play:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/wg-easy:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/firefly:latest
kasmweb/chrome:1.8.0-edge
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
spacemeowx2/switch-lan-play:latest
ghcr.io/wg-easy/wg-easy:latest
uusec/firefly:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/alpine:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/chrome:1.8.0-edge
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
registry.cn-hangzhou.aliyuncs.com/siruoren/switch-lan-play:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/wg-easy:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/firefly:latest
alpine:latest
kasmweb/chrome:1.8.0-edge
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
spacemeowx2/switch-lan-play:latest
ghcr.io/wg-easy/wg-easy:latest
uusec/firefly:latest
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
registry.cn-hangzhou.aliyuncs.com/siruoren/debian:stable-slim
registry.cn-hangzhou.aliyuncs.com/siruoren/alpine:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/chrome:1.8.0-edge
registry.cn-hangzhou.aliyuncs.com/siruoren/portainer-ce:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/gost:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/rabbitpro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/pgyvpn:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/qinglong:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/docker-atrust:dev
registry.cn-hangzhou.aliyuncs.com/siruoren/v2raya:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/frpc:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx-proxy-manager:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/server:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/baidunetdisk:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/nginx:1.21.4-alpine
registry.cn-hangzhou.aliyuncs.com/siruoren/switch-lan-play:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/wg-easy:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/aria2-pro:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/ariang:latest
registry.cn-hangzhou.aliyuncs.com/siruoren/postgres:13
debian:stable-slim
alpine:latest
kasmweb/chrome:1.8.0-edge
portainer/portainer-ce:latest
gogost/gost:latest
ht944/rabbitpro:latest
bestoray/pgyvpn:latest
whyour/qinglong:latest
hagb/docker-atrust:latest
hagb/docker-atrust:dev
mzz2017/v2raya:latest
openfrp/frpc:latest
jc21/nginx-proxy-manager:latest
vaultwarden/server:latest
johngong/baidunetdisk:latest
nginx:1.21.4-alpine
spacemeowx2/switch-lan-play:latest
ghcr.io/wg-easy/wg-easy:latest
p3terx/aria2-pro:latest
p3terx/ariang:latest
postgres:13
20240606之后,应该加速的方式都逐步不可用了
获取阿里云镜像加速地址
根据提示配置镜像加速
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
"registry-mirrors": ["https://xxxx.mirror.aliyuncs.com"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
将镜像信息部分的的两个文件保存到本地
然后愉快的使用以下脚本跑起来
适用于无法拉取外网地址或拉取外网地址缓慢
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
docker pull $i;
sourceTag=$(cat images-init.yml | grep $tagName);
docker tag $i $sourceTag;
done
适用于内网环境需要将公网镜像打包到内网镜像仓库
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
filePrefix=$(echo $tagName | awk -F ":" '{print $1}');
fileSuffix=$(echo $tagName | awk -F ":" '{print $NF}');
fileName=$filePrefix--$fileSuffix.gz
docker pull $i;
mkdir localImage || echo 0
docker save $i -o localImage/$fileName
done
# tar -zcf localImage.tar.gz localImage
# 将压缩好的镜像文件放在localImage目录
img=$(ls localImage)
# 本地仓库信息 LOCAL_REGISTRY 和 LOCAL_NAMESPACE 需要指定
# 如镜像local.harbor.dev/ingress-nginx/kube-webhook-certgen:v1.1.1
# LOCAL_REGISTRY则为:local.harbor.dev
# LOCAL_NAMESPACE则为:ingress-nginx
LOCAL_REGISTRY=
LOCAL_NAMESPACE=
# 首先解压镜像
for i in ${img[@]}
do
docker load -i $i;
done
# 解压完成后,重新打tag并且上传指定仓库,需要确保需要有对应仓库的权限
img=$(cat dockerhub-image.yml)
for i in ${img[@]}
do
tagName=$(echo $i | awk -F "/" '{print $NF}');
specialTag=$LOCAL_REGISTRY/$LOCAL_NAMESPACE/$tagName;
docker tag $i $specialTag;
docker push $specialTag;
done
Syncing image to TargetRegistry, please wait a moment
Check the progress
debian:stable-slim alpine:latest kasmweb/chrome:1.8.0-edge portainer/portainer-ce:latest gogost/gost:latest ht944/rabbitpro:latest bestoray/pgyvpn:latest whyour/qinglong:latest hagb/docker-atrust:latest hagb/docker-atrust:dev mzz2017/v2raya:latest openfrp/frpc:latest jc21/nginx-proxy-manager:latest vaultwarden/server:latest johngong/baidunetdisk:latest nginx:1.21.4-alpine spacemeowx2/switch-lan-play:latest ghcr.io/wg-easy/wg-easy:latest p3terx/aria2-pro:latest p3terx/ariang:latest postgres:13