Docker Community Forums

Share and learn in the Docker community.

Start non docker service from docker-compose?


(Devaxelafacom) #1

Use case:

Container running postfix sending via postfix server on a mac. The point being that I don’t have a postfix daemon running normally on the mac - I want it to start when particular containers start. Its pretty easy to wrap a docker-compose call in a shell script that also starts the service but it would be nice to have it the other way around - i.e. to manage start/stop of native services also from compose. Is there a way ?

andy