
--0.�л�����˴��Ŀ¼
cd /opt/syslog/docker/consumer-rule


--1.�鿴����������
docker ps -a

--2.���docker image�ļ� (Dockerfile ��ǰĿ¼��
docker build -t syslog-consumer-rule:v1.X.X  .


--3.ֹͣ���� ��ɾ��
docker stop  syslog-consumer-rule  &&  docker  rm syslog-consumer-rule

--4.����docker �ļ�
docker run --restart unless-stopped -e TZ=Asia/Shanghai -d --name ct-syslog-consumer-rule -p 8289:8289 -v /home/syslog/logs:/app/logs --privileged=true   syslog-consumer-rule:v1.X.X
�ڳ�CMD��
docker run --restart unless-stopped -e TZ=Asia/Shanghai -d --name ct-syslog-consumer-rule -p 8289:8289 -v /data/syslog/logs:/app/logs --privileged=true   syslog-consumer-rule:v1.X.X

--������������
docker run  -d --name ct-syslog-consumer-rule -p 8089:8089 --privileged=true   syslog-consumer-rule:v1.X.X


