Hi,

I found if I set daemonize: false in my pmacctd.conf file and use the -d flag 
on the docker run line it seems to work.

Don't know if this is the proper solution though.

Thanks,
Steve

On 10/1/21 7:21 AM, Steve Clark wrote:
Hello,


I am having trouble getting the "latest" or "bleeding-edge" docker image to run 
by using the following command:
docker run --privileged --network host -v 
/etc/pmacct_netwolves/pmacctd.conf:/etc/pmacct/pmacctd.conf 
pmacct/pmacctd:bleeding-edge
$ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS NAMES
Fri Oct  1 07:15:37 EDT 2021

but if I run the following command and then inside the container I run pmaccd 
-f /etc/pmacct/pmacctd - it works
docker run -it --privileged --network host -v 
/etc/pmacct_netwolves/pmacctd.conf:/etc/pmacct/pmacctd.conf --entrypoint 
/bin/bash  pmacct/pmacctd:bleeding-edge

from another login on the same system
V990002:~
$ docker ps
CONTAINER ID   IMAGE                          COMMAND CREATED          STATUS   
       PORTS     NAMES
d4b0beab1b0b   pmacct/pmacctd:bleeding-edge   "/bin/bash"   46 seconds ago   Up 
45 seconds             silly_volhard
Fri Oct  1 07:17:53 EDT 2021
V990002:~
$ ps awx|grep pmacct
18718 pts/1    Sl+    0:00 docker run -it --privileged --network host -v 
/etc/pmacct_netwolves/pmacctd.conf:/etc/pmacct/pmacctd.conf --entrypoint 
/bin/bash pmacct/pmacctd:bleeding-edge
18853 ?        Ss     0:02 pmacctd: Core Process [default]
18856 ?        S      0:00 pmacctd: Netflow Probe Plugin [eth1]
19348 pts/2    S+     0:00 grep --color=auto pmacct

My system is CentOS 7.
docker-ce-20.10.8-3.el7.x86_64

Also I must add I am docker noobie.
Email Confidentiality Notice: The information contained in this transmission 
may contain privileged and confidential and/or protected health information 
(PHI) and may be subject to protection under the law, including the Health 
Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This 
transmission is intended for the sole use of the individual or entity to whom 
it is addressed. If you are not the intended recipient, you are notified that 
any use, dissemination, distribution, printing or copying of this transmission 
is strictly prohibited and may subject you to criminal or civil penalties. If 
you have received this transmission in error, please contact the sender 
immediately and delete this email and any attachments from any computer. Vaso 
Corporation and its subsidiary companies are not responsible for data leaks 
that result from email messages received that contain privileged and 
confidential and/or protected health information (PHI).

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Email Confidentiality Notice: The information contained in this transmission 
may contain privileged and confidential and/or protected health information 
(PHI) and may be subject to protection under the law, including the Health 
Insurance Portability and Accountability Act of 1996, as amended (HIPAA). This 
transmission is intended for the sole use of the individual or entity to whom 
it is addressed. If you are not the intended recipient, you are notified that 
any use, dissemination, distribution, printing or copying of this transmission 
is strictly prohibited and may subject you to criminal or civil penalties. If 
you have received this transmission in error, please contact the sender 
immediately and delete this email and any attachments from any computer. Vaso 
Corporation and its subsidiary companies are not responsible for data leaks 
that result from email messages received that contain privileged and 
confidential and/or protected health information (PHI).

_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to