stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
MIT License
1.87k stars 736 forks source link

alertmanager container mutates config file #47

Open dariusj18 opened 6 years ago

dariusj18 commented 6 years ago

It would be better IMO to just copy the alertmanager.yml file into the /tmp folder in the Dockerfile and have the entrypoint perform the file modifications as a part of the copy.

If I try and add a docker config file to the path /etc/alertmanager/alertmanager.yml i get the error

mv: can't rename '/tmp/alertmanager.yml': Device or resource busy

hlaf commented 6 years ago

+1

faroukellouze commented 5 years ago

any updates on this one ? :'(