[root@k8s ~]# docker login https://hub.vrgv.com
Username: admin
Password:
Error response from daemon: Get https://hub.vrgv.com/v2/: x509: certificate signed by unknown authority
解决方法:
配置文件位置
vim /usr/lib/systemd/system/docker.service #为启动文件,可用find / -name docker.service搜索
修改为:
ExecStart=/usr/bin/dockerd --insecure-registry hub.vrgv.com
hub.vrgv.com是自己的harbor仓库地址