docker部署zabbix4.0
下载镜像
[root@zabbix5 ~]
Using default tag: latest
latest: Pulling from zabbix/zabbix-appliance
4167d3e14976: Pull complete
63cbbe4e0961: Pull complete
1574aaacb959: Pull complete
2267246656b0: Pull complete
6beaad4ba6d2: Pull complete
62c88fa953a8: Pull complete
07c3e2214ad8: Pull complete
5fdaaee0a35b: Pull complete
f9c2b81f504f: Pull complete
a1e53750d5df: Pull complete
36470f08a3ed: Pull complete
652dd2050bb2: Pull complete
0d21d056e6d6: Pull complete
Digest: sha256:b8f66c17f3a7e6d10b1c16cbaa0106f8427096cfa0e8f91e4bf63667975cb636
Status: Downloaded newer image for zabbix/zabbix-appliance:latest
docker.io/zabbix/zabbix-appliance:latest
如果长期使用需要创建卷
[root@zabbix5 ~]
Zabbix_data
生成并启动容器
注意:确认属主机的80/100051端口没有被占用,占有则更换其他端口
[root@zabbix5 ~]
bdf8d9691a8bd47dd2f0e2ca3ef3767c37670988872f7bbf5c8d1cc9df37b95f
查看环境是否开启
[root@zabbix5 ~]
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bdf8d9691a8b zabbix/zabbix-appliance "/sbin/tini -- /usr/…" 13 seconds ago Up 12 seconds 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:10051->10051/tcp, :::10051->10051/tcp, 443/tcp zabbix
|