Zabbix 3.0 docker-based#
See https://hub.docker.com/r/zabbix/zabbix-3.0/
.
Fire up data container first :
docker run -d -v /var/lib/mysql --name zabbix-db-storage busybox:latest
Then start the zabbix DB container:
docker run \
-d \
--name zabbix-db \
-v /backups:/backups \
--volumes-from zabbix-db-storage \
--env="MARIADB_USER=zabbix" \
--env="MARIADB_PASS=my_password" \
zabbix/zabbix-db-mariadb
This will pull the docker image if you don't have it yet.
Then fire up the zabbix engine itself:
docker run \
-d \
--name zabbix \
-p 80:80 \
-p 10051:10051 \
--link zabbix-db:zabbix.db \
--env="ZS_DBHost=zabbix.db" \
--env="ZS_DBUser=zabbix" \
--env="ZS_DBPassword=my_password" \
zabbix/zabbix-3.0:dev
Wait about 2 minutes and go to the webinterface at port 80
with user and password Admin:zabbix
