Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1724

Can't include port in DockerInfo's image

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.1
    • Component/s: containerization
    • Labels:

      Description

      The current git tree doesn't allow you to specify a docker image with multiple colons. It is valid that multiple colons would exist in a docker image. e.g. docker-registry.example.com:80/centos:6u5

      From https://github.com/apache/mesos/blob/02a35ab213fb074f6c532075cada76f13eb9d552/src/slave/containerizer/docker.cpp#L441

        vector<string> parts = strings::split(dockerInfo.image(), ":");
      
        if (parts.size() > 2) {
          return Failure("Not expecting multiple ':' in image: " +
                         dockerInfo.image());
        }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tnachen Timothy Chen
                Reporter:
                jaybuff Jay Buffington
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: