栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

docker容器部署zabbix时报错TLS handshake timeout解决办法

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

docker容器部署zabbix时报错TLS handshake timeout解决办法

mysql作为后端存储的zabbix-server需要拉取zabbix-server-mysql

[root@jesee docker]# docker pull zabbix/zabbix-server-mysql
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: TLS handshake timeout


出现报错,无法访问镜像仓库,需要修改daemon.json文件,添加其他国内仓库:

[root@jesee docker]# vi daemon.json
{

"registry-mirrors": ["http://hub-mirror.c.163.com", "https://registry.docker-cn.com","https://pee6w651.mirror.aliyuncs.com"]

}

添加后重启docker

[root@jesee docker]# systemctl restart docker

再重新拉取zabbix-server-mysql,成功

[root@jesee docker]# docker pull zabbix/zabbix-server-mysql
Using default tag: latest
latest: Pulling from zabbix/zabbix-server-mysql
df9b9388f04a: Pull complete 
bb55c9614468: Pull complete 
10490d6b79ab: Pull complete 
9ecabfb38f7e: Pull complete 
e11ce0544dec: Pull complete 
75e964c9732b: Pull complete 
1d484dc4df63: Pull complete 
4f4fb700ef54: Pull complete 
640bd1a047d0: Pull complete 
Digest: sha256:089ebe0c99a6cc6813212021a15dc156d61bae7f196c586f5691bc90e4894824
Status: Downloaded newer image for zabbix/zabbix-server-mysql:latest
docker.io/zabbix/zabbix-server-mysql:latest


 

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/913657.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号