1、标记此镜像为私有仓库的镜像
docker tag jdk1.8 192.168.1.8:5000/jdk1.8
2、再次启动私服容器
docker start registry
3、上传标记的镜像
docker push 192.168.1.8:5000/jdk1.8
docker tag jdk1.8 192.168.1.8:5000/jdk1.8
docker start registry
docker push 192.168.1.8:5000/jdk1.8