设置docker国内加速器

国内阿里云提供的镜像服务

也可以设置你自己的私服代理服务器或者docker cn提供的国内镜像

登录docker服务器，这个是push镜像到docker hub需要的

[root@ ~]# docker loginLogin with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.Username: usernamePassword: WARNING! Your password will be stored unencrypted in /root/.docker/config.json.Configure a credential helper to remove this warning. Seehttps://docs.docker.com/engine/reference/commandline/login/#credentials-storeLogin Succeeded