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

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. What is the tool to deploy dockerized apps?
  3. File copied by Docker seen as a directory
  4. Docker add additional arguments to start
  5. Sending mail using GNU Mailutils inside Docker container
  6. Docker app in Exited (0) status
  7. Docker pid namespace and Host
  8. 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!

  • Docker ADD then RUN
  • Local pypi server tells me 403 Forbidden when registering packages
  • Docker expose port
  • “assets:install” command fails with error “The target directory ”web“ does not exist”, why?
  • Docker- How to use syslog to record logs on host machine?
  • Mongo doesn't run after installing on Docker Centos image: Failed to connect to 127.0.0.1:27017
  • One Solution collect form web for “How to run InfluxDB as a foreground process on Docker using Mesos Marathon”

    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

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.