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

Can't include port in DockerInfo's image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.20.1
    • containerization

    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

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

              Dates

                Created:
                Updated:
                Resolved: