更新多个应用的镜像地址,调整数据存储路径,新增 Traefik 配置,删除无用的 Keycloak 配置文件,添加必须执行的脚本
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
|
||||
|
||||
# 1. 使用 Docker pull 镜像
|
||||
docker pull docker.io/rancher/mirrored-pause:3.6
|
||||
docker pull docker.cnb.cool/kevisual/dev-env/mirrored-pause:3.6/rancher/mirrored-pause:3.6
|
||||
|
||||
# 2. 将 Docker 镜像保存为 tar 文件
|
||||
docker save docker.io/rancher/mirrored-pause:3.6 -o mirrored-pause-3.6.tar
|
||||
docker save docker.cnb.cool/kevisual/dev-env/mirrored-pause:3.6/rancher/mirrored-pause:3.6 -o mirrored-pause-3.6.tar
|
||||
|
||||
# 3. 使用 K3s 的 ctr 导入镜像
|
||||
sudo k3s ctr images import mirrored-pause-3.6.tar
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
## k3s ctr 直接下载不了镜像,用其他的方式下载然后导入
|
||||
# sudo k3s ctr images pull docker.io/ghcr.io/iptag/jimeng-api:latest
|
||||
|
||||
|
||||
# 1. 使用 Docker pull 镜像
|
||||
docker pull docker.io/ghcr.io/iptag/jimeng-api:latest
|
||||
|
||||
# 2. 将 Docker 镜像保存为 tar 文件
|
||||
docker save docker.io/ghcr.io/iptag/jimeng-api:latest -o mirrored-pause-3.6.tar
|
||||
|
||||
# 3. 使用 K3s 的 ctr 导入镜像
|
||||
sudo k3s ctr images import mirrored-pause-3.6.tar
|
||||
|
||||
# 4. 验证镜像是否导入成功
|
||||
sudo k3s ctr images ls | grep pause
|
||||
Reference in New Issue
Block a user