在阿里云注册账号:
https://cr.console.aliyun.com/
在安全设置中找到自己的账号名:
设置密码:
在linux中登录
[root@node-2 ~]# docker login --username=hahahcjlsk registry.cn-hangzhou.aliyuncs.com
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
查看本地仓库镜像