Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-4197

how to make fixed name for docker container launching from mesos marathon

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Mesos Integration
    • Labels:

      Description

      In my set up i am creating application using docker container via mesos marathon.

      I have used docker container link while launching the application from marathon using below syntax

      { "key": "link", "value": "mesos-4897cc0d-3a81-4be3-8384-8a254678ff59-S25.9978c761-5550-4dab-835f-530ac2bbf86a:tomcatlatestnew" }

      ]

      Added to that, in my environment i am using 2 slave servers , while launching the application using docker linking its getting launched in one slave and i am able to access the application. But while failover the instance from one slave to other slave container name getting changed hence docker linking is not working and i am unable to access application. Please do let me know how can i make fixed container name even though fail over happened from one slave to other salve.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                GitHub_geolig geolig (Inactive)
                Team:
                Orchestration Team
                Watchers:
                Jason Gilanfarr (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: