如何运行InfluxDB作为Docker使用Mesos Marathon的前台进程 [英] How to run InfluxDB as a foreground process on Docker using Mesos Marathon
问题描述
-
使用Docker运行命令,我目前正在启动influxdb服务我的守护进程容器使用supervisord。有没有办法在前台直接启动influxDB服务?
-
马拉松有没有办法帮助实现这一点?
我真的想避免使用supervisord。我觉得作为一个处理程序是多余的。
谢谢!
您可以使用马拉松运行Docker容器。以下是运行Docker容器的一个很好的指南: https://mesosphere.github。 io /马拉松/ docs / native-docker.html
OBJ: I want to start a daemon container with Marathon. I want influxdb to be the service running on the container.
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?
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!
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
这篇关于如何运行InfluxDB作为Docker使用Mesos Marathon的前台进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!