1

I understand the basic concepts of running a Docker container on Mesos with this and this as an Marathon application. I have two questions:

  1. Does Mesos/Marathon has a REST API to list Docker containers started by a Marathon application? I went through REST API reference but could not find a way to do this. What I'm looking for is the IP addresses of the Docker containers within the Mesos cluster/network.

  2. Does Mesos provide a Flannel like SDN for Docker or is it just local IP addresses containers would get for each Mesos slave? I checked this but could not figure this out.

Many Thanks!

imesh
  • 1,374
  • 1
  • 15
  • 18

1 Answers1

0

Have a look at https://mesosphere.github.io/marathon/docs/generated/api.html#v2_tasks_get

There you can see that the task objects contain host and ports properties.

Tobi
  • 31,405
  • 8
  • 58
  • 90