I want to run haproxy (2.0.4) in docker, (non-daemon as I suppose)
and also want haproxy write its pid to
The reason behind it is we want to get pid for later
what is the best practice?
the docker official haproxy dockerfile adds
-db to disable the daemon mode,
but how can I get the pid of to service follow, seriously?
I cannot get why haproxy doesn’t write pid to pidfile when in daemon mode.