按照官网文档做的,mysql起不来,不知道有遇到这种问题的大神么,google了下,其他人也没遇到这种问题

docker pull zabbix/zabbix-web-nginx-mysql

docker run --name some-zabbix-web-nginx-mysql -p 80:80 -e DB_SERVER_HOST="192.168.0.1" -e MYSQL_USER="some-user" -e MYSQL_PASSWORD="some-password" -e ZBX_SERVER_HOST="192.168.0.1" -it zabbix/zabbix-web-nginx-MySQL

docker 的log显示:

$ docker logs 00884485dbab

** Deploying Zabbix frontend (apache) with mysql database

** Preparing the system

** Preparing Zabbix web-interface

********************

* DB_SERVER_HOST: 192.168.0.1

* DB_SERVER_PORT: 3306

* DB_SERVER_DBNAME: zabbix

* DB_SERVER_ZBX_USER: some-user

* DB_SERVER_ZBX_PASS: some-password

********************

**** MySQL server is not available. Waiting 5 seconds...

**** MySQL server is not available. Waiting 5 seconds...

**** MySQL server is not available. Waiting 5 seconds...

**** MySQL server is not available. Waiting 5 seconds...

**** MySQL server is not available. Waiting 5 seconds...

官方文档的地址:

https://hub.docker.com/r/zabbi ... ysql/

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐