Zabbix Github repo is intended as a source for Zabbix Docker registry. Please use these community Zabbix Docker images, if you want to build/ship your own Zabbix Docker image.
See README of zabbix-3.0 for more details.
Compiled Zabbix with almost all features (MySQL support, Java, SNMP, Curl, Ipmi, fping) and Zabbix web UI based on CentOS 7, Supervisor, Nginx, PHP. Image requires external MySQL database (you can run MySQL also as Docker container).
See README of zabbix-db-mariadb for more details.
MariaDB container customized for Zabbix.
2.4 is not supported version - please use 3.0 version.
See README of zabbix-2.4 for more details.
Compiled Zabbix with almost all features (MySQL support, Java, SNMP, Curl, Ipmi, fping) and Zabbix web UI based on CentOS 7, Supervisor, Nginx, PHP. Image requires external MySQL database (you can run MySQL also as Docker container).
Use docker command to see if all required containers are up and running:
$ docker ps -f
Check online logs of Zabbix container:
$ docker logs zabbix
Sometimes you might just want to review how things are deployed inside a running container, you can do this by executing a bash shell through docker's exec command:
docker exec -ti zabbix /bin/bash
History of an image and size of layers:
docker history --no-trunc=true zabbix/zabbix-3.0 | tr -s ' ' | tail -n+2 | awk -F " ago " '{print $2}'
Run specific Zabbix version, e.g. 3.0.0 - just specify 3.0.0 tag for image:
docker run \
-d \
--name zabbix \
-p 80:80 \
-p 10051:10051 \
-v /etc/localtime:/etc/localtime:ro \
--env="ZS_DBHost=database_ip" \
--env="ZS_DBUser=username" \
--env="ZS_DBPassword=my_password" \
zabbix/zabbix-3.0:3.0.0
It's easy to build customized image on top of this base community image. You will need to specify only FROM definition in your Dockerfile. For example: if you want to use always the latest available version, then please use:
FROM zabbix/zabbix-3.0:latest
Recommended example how to build custom Zabbix server on top of base image is million12/docker-zabbix-server. It provides custom features, such as Push notification, Slack and SMTP auth.
- Zabbix agent 3.0 XXL with Docker monitoring support
- Dockerised project Grafana XXL, which includes also Grafana Zabbix datasource
- Scale your Dockerised Zabbix with Kubernetes