A Debian User: > Hello, > > I am currently having trouble to get postfix running in a Docker Container. > > Docker requires a Process to stay alive and in foreground at ID 1, if > not the container dies. > > Is there any way to make it stay in the foreground, like it is possible > for instance with _/apachectl -DFOREGROUND/_ (Without scripts, > supervisor, ...)? > > Many thanks for helpful replies in advance!
That is not currently supported. You are welcome to send a patch for the postfix-script file, for example to implement a "run" command. I don't see, however, how one would use this to implement other management commands (postfix reload, postconf -e, postsuper, etc.). Wietse