如何运行InfluxDB作为Docker使用Mesos Marathon的前台进程 [英] How to run InfluxDB as a foreground process on Docker using Mesos Marathon

查看:312
本文介绍了如何运行InfluxDB作为Docker使用Mesos Marathon的前台进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OBJ:我想用Marathon启动一个守护进程容器。我想要influxdb是在容器上运行的服务。


  1. 使用Docker运行命令,我目前正在启动influxdb服务我的守护进程容器使用supervisord。有没有办法在前台直接启动influxDB服务?


  2. 马拉松有没有办法帮助实现这一点?


我真的想避免使用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.

  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!

解决方案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆