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

can marathon specify host_ip when setting portmapping?

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Networking
    • Labels:

      Description

      when i use marathon to create docker containers, i could use portMappings to set port in container and port in host. Meanwhile, i have two ethx on host, such as IP_A and IP_B, and i just want to set the port mapping on IP_A then IP_B. Can marathon do this?
      like the function in docker run -p IP:host_port:container_port

              "portMappings": [
                {
                  "containerPort": 6666,
                  "hostPort": 6666,
                  "protocol": "tcp"
                      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_elianka Daniel Kang (Inactive)
              Team:
              Orchestration Team
              Watchers:
              Jason Gilanfarr (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: