Skip to content
Snippets Groups Projects
  1. Mar 19, 2019
  2. Aug 10, 2018
  3. Jul 19, 2016
  4. Mar 09, 2016
  5. Feb 29, 2016
  6. Feb 12, 2016
  7. Oct 28, 2015
  8. Sep 09, 2015
  9. Aug 13, 2015
    • Stephen J Day's avatar
      Provide yes man endpoint for inflexible load balancers · 74080b72
      Stephen J Day authored
      
      Certain load balancers, such as Amazon's Elastic Load Balancer, have a very
      limited notion of health. While a properly configured and operational registry
      should always return a 401 when hitting "/v2/", such load balancers cannot be
      configured to treat this response code as healthy. This changeset makes "/"
      always return a 200 response, unless the health checks have failed.
      
      Signed-off-by: default avatarStephen J Day <stephen.day@docker.com>
      74080b72
  10. Aug 11, 2015
    • Stephen J Day's avatar
      Provide simple storage driver health check · 6ba799b6
      Stephen J Day authored
      
      To ensure the ensure the web application is properly operating, we've added a
      periodic health check for the storage driver. If the health check fails three
      times in a row, the registry will serve 503 response status for any request
      until the condition is resolved. The condition is reported in the response body
      and via the /debug/health endpoint.
      
      To ensure that all drivers will properly operate with this health check, a
      function has been added to the driver testsuite.
      
      Signed-off-by: default avatarStephen J Day <stephen.day@docker.com>
      6ba799b6
  11. Aug 04, 2015
    • Richard Scothern's avatar
      Add pull through cache functionality to the Registry which can be configured · 94935f39
      Richard Scothern authored
      with a new `proxy` section in the configuration file.
      
      Create a new registry type which delegates storage to a proxyBlobStore
      and proxyManifestStore.  These stores will pull through data if not present
      locally.  proxyBlobStore takes care not to write duplicate data to disk.
      
      Add a scheduler to cleanup expired content. The scheduler runs as a background
      goroutine.  When a blob or manifest is pulled through from the remote registry,
      an entry is added to the scheduler with a TTL.  When the TTL expires the
      scheduler calls a pre-specified function to remove the fetched resource.
      
      Add token authentication to the registry middleware.  Get a token at startup
      and preload the credential store with the username and password supplied in the
      config file.
      
      Allow resumable digest functionality to be disabled at runtime and disable
      it when the registry is a pull through cache.
      
      Signed-off-by: default avatarRichard Scothern <richard.scothern@gmail.com>
      94935f39
  12. Jul 31, 2015
  13. Jul 30, 2015
  14. Jul 21, 2015
  15. Jun 17, 2015
    • Ahmet Alp Balkan's avatar
      storage/driver/azure: Update vendored Azure SDK · daa22cac
      Ahmet Alp Balkan authored
      This change refreshes the updated version of Azure SDK
      for Go that has the latest changes.
      
      I manually vendored the new SDK (github.com/Azure/azure-sdk-for-go)
      and I removed `management/` `core/` packages manually simply because
      they're not used here and they have a fork of `net/http` and `crypto/tls`
      for a particular reason. It was introducing a 44k SLOC change otherwise...
      
      This also undoes the `include_azure` flag (actually Steven removed the
      driver from imports but forgot to add the build flag apparently, so the
      flag wasn't really including azure. 😄
      
       ). This also must be obsolete
      now.
      
      Fixes #620, #175.
      
      Signed-off-by: default avatarAhmet Alp Balkan <ahmetalpbalkan@gmail.com>
      daa22cac
  16. Jun 12, 2015
  17. Jun 11, 2015
  18. Jun 06, 2015
  19. Jun 04, 2015
  20. May 11, 2015
  21. Apr 15, 2015
  22. Apr 14, 2015
  23. Apr 10, 2015
  24. Apr 01, 2015
    • Josh Hawn's avatar
      Improve context package · 731e0b00
      Josh Hawn authored
      You shouldn't have to import both:
      
        github.com/docker/distribution/context
        golang.org/x/net/context
      
      just to use the distribution tools and implement the distribution interfaces.
      
      By pulling the Context interface from golang.org/x/net/context into the
      context package within the distribution project, you no longer have to import
      both packages.
      
      Note: You do not have to change anything anywhere else yet! All current uses
      of both packages together will still work correctly because the Context
      interface from either package is identical.
      
      I've also made some other minor changes:
      
      - Added a RemoteIP function. It's like RemoteAddr but discards the port suffix
      - Added `.String()` to the response duration context value so that JSON log
        formatting shows human-parseable duration and not just number of nano-seconds
      - Added WithMapContext(...) to the context package. This is a useful function
        so I pulled it out of the main.go in cmd/registry so that it can be used
        elsewhere.
      
      Docker-DCO-1.1-Signed-off-by: Josh Hawn <josh.hawn@docker.com> (github: jlhawn)
      731e0b00
  25. Mar 25, 2015
  26. Mar 24, 2015
  27. Mar 21, 2015
  28. Mar 20, 2015
  29. Mar 11, 2015
  30. Feb 11, 2015
Loading