How to run InfluxDB as a foreground process on Docker using Mesos Marathon

て烟熏妆下的殇ゞ 提交于 2019-12-11 20:46:15

问题


OBJ: I want to start a daemon container with Marathon. I want influxdb to be the service running on the container.

  1. Using the Docker run command, I currently start the influxdb service in my daemon containers using supervisord. Is there a way of starting the influxDB service in the foreground directly?

  2. Is there a way that Marathon can help to achieve this?

I really want to avoid using supervisord. I feel it is redundant as a process handler.

Thank you!


回答1:


You can run the Docker container natively with Marathon. Here's an excellent guide for running Docker containers this way: https://mesosphere.github.io/marathon/docs/native-docker.html



来源:https://stackoverflow.com/questions/28953509/how-to-run-influxdb-as-a-foreground-process-on-docker-using-mesos-marathon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!