一、本地仓库报错:server gave HTTP response to HTTPS client
- 打开文件/etc/docker/daemon.json(没有就创建),增加下面节点 ```shell { “insecure-registries”: [“172.28.66.220:8082”] }
<br />2. 然后使用热更或重启docker
```shell
# 不重启,热更
# sudo kill -1 $(pidof dockerd)
sudo kill -SIGHUP $(pidof dockerd)
# 重启
service docker restart
二、无权限(Got permission denied while trying to connect to the Docker daemon)
将当前用户添加到组
sudo usermod -aG docker ${USER_NAME}
更新组
newgrp docker