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

Docker fetcher fails to handle HTTP private registry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • fetcher
    • None

    Description

      With something like:

      mesos-slave \
      --image_providers='docker' \
      --containerizers='mesos' \
      --docker_registry='http://my-registry.fqdn" \
      ..

      Docker fetcher tries to fetch registry's catalog via an HTTPS request,
      instead of an HTTP request.

      Probably because of:

       
      {{ string scheme = "https";}}
      {{ if (uri.has_fragment(){}}
      {{    scheme = uri.fragment();}}
      {{ }}}

      should probably be:

      string scheme = uri.scheme();

      Attachments

        Activity

          People

            Unassigned Unassigned
            f.boismenu@criteo.com Frederic Boismenu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: