1. 打一个相应的TAG镜像,如果2.1-test
2. 本地拉取docker镜像 docker pull registry...../test:2.1-test
3.保存到本地
docker save -o test.tar registry...../test:2.1-test
4. 在服务器上执行加载这个镜像 docker load -i test.tar
5. 修改相应的tag名配置 重启
ps:添加权限 chmod 777 test.tar
1. 打一个相应的TAG镜像,如果2.1-test
2. 本地拉取docker镜像 docker pull registry...../test:2.1-test
3.保存到本地
docker save -o test.tar registry...../test:2.1-test
4. 在服务器上执行加载这个镜像 docker load -i test.tar
5. 修改相应的tag名配置 重启
ps:添加权限 chmod 777 test.tar