1.上传镜像
①docker load < /home/images/yarn-prometheus-exporter.tar
②docker tag image-id 192.168.140.141:yarn-pro:10
③docker push <ip>:5000/nginx1.8:latest
2.将镜像打成tar包并下载镜像到本地
①docker save 3858006b1a41 > /home/images/yarn-prometheus-exporter.tar