How to install zabbix in docker

0 votes

Hi Guys,

I have configured docker-engine in the Linux system. I want to launch one container for Zabbix. How can I do that?

Aug 24, 2020 in Docker by akhtar
• 38,230 points
4,013 views

1 answer to this question.

0 votes

Hi@akhtar,

In your Zabbix server, create a folder with this docker configuration file as shown below.

docker-compose.yml
version: ‘3’
services:
zabbix-server:
restart: always
image: zabbix/zabbix-server-mysql:latest
ports:
— “10050:10050”
— “10051:10051”
environment:
DB_SERVER_HOST: YOUR_IP
MYSQL_USER: MYSQL_USER
MYSQL_PASSWORD: MYSQL_PASS
zabbix-web-nginx-mysql:
restart: always
image: zabbix/zabbix-web-nginx-mysql:latest
ports:
— “80:80”
links:
— zabbix-server:zabbix-server
environment:
DB_SERVER_HOST: YOUR_IP
MYSQL_USER: MYSQL_USER
MYSQL_PASSWORD: MYSQL_PASS
ZBX_SERVER_HOST: ZABBIX_SERVER_HOST
PHP_TZ: YOUR_PHP_TIME_ZONE

After that, run the following command to create and start the container.

$ docker-compose up -d

answered Aug 24, 2020 by MD
• 95,440 points

Related Questions In Docker

0 votes
1 answer

How to install telnet in Docker for Windows 10?

If you are trying to telnet in ...READ MORE

answered Aug 28, 2018 in Docker by Tyrion anex
• 8,700 points
3,145 views
0 votes
1 answer

How to store data in external drive with Docker Postgres:9.3 image?

Apparently, the problem would be in your ...READ MORE

answered Jul 12, 2018 in Docker by Kalgi
• 2,680 points
2,351 views
0 votes
1 answer

How to deal with persistent storage (e.g. databases) in docker

For Docker 1.9.0 and above, Use volume API docker ...READ MORE

answered Jul 18, 2018 in Docker by Kalgi
• 2,680 points
583 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,090 points
2,467 views
+1 vote
1 answer

How to install packages in a Docker container?

Hi@akhtar, To install packages in a docker container, ...READ MORE

answered Apr 15, 2020 in Docker by MD
• 95,440 points
140,215 views
+2 votes
12 answers

How to run multiple commands in docker at once?

In order to run multiple commands in ...READ MORE

answered Jul 19, 2018 in Docker by Sophie may
• 10,610 points
248,101 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP