If anyone is interested in running Zabbix in Docker containers, I've created Dockerfiles to do this easily and posted the code on github.
There are more guides on the web to make Zabbix run in a container, but they usually put all processes in 1 container which isn't really the point of docker. The point is to have each process in a separate container, which I've done.
Currently I've 3 Dockerfiles on github to build:
You can easily clone the github repo's and build the images, and then link them together to create a working Zabbix environment in Docker containers.
Detailed usage examples can be found in the README files on github:
I'm in the process of making more containers available, like a zabbix_agent and zabbix_java_gateway. I find them very handy for testing purposes.
One thing to note if you're wondering why I packaged a zabbix_server binary for the Docker container. I need the zabbix_server process to run in the foreground, which can't be done with the official binary. However there is a patch to add this functionality which has been applied to the packaged binary.
There are more guides on the web to make Zabbix run in a container, but they usually put all processes in 1 container which isn't really the point of docker. The point is to have each process in a separate container, which I've done.
Currently I've 3 Dockerfiles on github to build:
- a container only running the zabbix_server process
- a container running the mysqld_safe process
- a container running an apache process
You can easily clone the github repo's and build the images, and then link them together to create a working Zabbix environment in Docker containers.
Detailed usage examples can be found in the README files on github:
I'm in the process of making more containers available, like a zabbix_agent and zabbix_java_gateway. I find them very handy for testing purposes.

One thing to note if you're wondering why I packaged a zabbix_server binary for the Docker container. I need the zabbix_server process to run in the foreground, which can't be done with the official binary. However there is a patch to add this functionality which has been applied to the packaged binary.
Comment