Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15548

Change the Docker examples when using localhost / 127.0.0.1

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.9.0
    • Component/s: None
    • Labels:
      None

      Description

      When Accessing Artifactory 5.8.0 from "localhost" or "127.0.0.01", it provides docker examples using these addresses which are not permitted by docker.

      Instead, I would expect the given example to use the Artifactory host IP.

      If you try to "docker login" to localhost or 127.0.0.1 this will result in a "connection refused".

       arielk@arielk-mac  ~/ docker login localhost:8081                                                                                                            
      Username: admin
      Password:
      Error response from daemon: Get http://localhost:8081/v2/: dial tcp [::1]:8081: getsockopt: connection refused
      

      To use the Path Docker Access Method, use the Artifactory host IP explicitly:

       arielk@arielk-mac  ~/ docker login 10.1.16.16:8081                                                                                                           
      Username (admin): admin
      Password:
      Login Succeeded
      

        Attachments

          Activity

            People

            • Assignee:
              matang Matan Gotlieb
              Reporter:
              arielk Ariel Kabov
              Assigned QA:
              Dudi Morad
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: