- Mar 19, 2019
-
-
Shawn Chen authored
Signed-off-by:
Shawn Chen <chen8132@gmail.com>
-
- Aug 10, 2018
-
-
Olivier Gambier authored
Signed-off-by:
Olivier <o+github@gambier.email>
-
- Jul 19, 2016
-
-
James Findley authored
Signed-off-by:
James Findley <jfindley@fastmail.com>
-
- Mar 09, 2016
-
-
Brian Bland authored
Signed-off-by:
Brian Bland <brian.bland@docker.com>
-
Li Yi authored
Change-Id: Ie5533ad85f944800499ca1040fd67bf1378815e0 Signed-off-by:
Li Yi <denverdino@gmail.com>
-
Arthur Baars authored
Signed-off-by:
Arthur Baars <arthur@semmle.com>
-
Brian Bland authored
Updates registry storage code to use this for better resumable writes. Implements this interface for the following drivers: + Inmemory + Filesystem + S3 + Azure Signed-off-by:
Brian Bland <brian.bland@docker.com>
-
- Feb 29, 2016
-
-
Andrew T Nguyen authored
- Includes a change in the command to run the registry. The registry server itself is now started up as a subcommand. - Includes changes to the high level interfaces to support enumeration of various registry objects. Signed-off-by:
Andrew T Nguyen <andrew.nguyen@docker.com>
-
- Feb 12, 2016
-
-
Brian Bland authored
Keeps old s3 driver, renames to s3goamz, registers new s3 driver as both "s3" and "s3aws" Changes cloudfront middleware to use aws-sdk-go Signed-off-by:
Brian Bland <brian.bland@docker.com>
-
- Oct 28, 2015
-
-
Arthur Baars authored
Signed-off-by:
Arthur Baars <arthur@semmle.com>
-
- Sep 09, 2015
-
-
Aaron Lehmann authored
Use this command in cmd/registry/main.go. Move debug server to the main command, and change Serve to be a ListenAndServe function. Signed-off-by:
Aaron Lehmann <aaron.lehmann@docker.com>
-
Aaron Lehmann authored
This makes it easier to embed a registry instance inside another application. Signed-off-by:
Aaron Lehmann <aaron.lehmann@docker.com>
-
- Aug 13, 2015
-
-
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:
Stephen J Day <stephen.day@docker.com>
-
- Aug 11, 2015
-
-
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:
Stephen J Day <stephen.day@docker.com>
-
- Aug 04, 2015
-
-
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:
Richard Scothern <richard.scothern@gmail.com>
-
- Jul 31, 2015
-
-
Li Yi authored
Signed-off-by:
Li Yi <denverdino@gmail.com>
-
- Jul 30, 2015
-
-
Stephen J Day authored
Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
Aaron Lehmann authored
Change the minimum TLS version to TLS 1.0, and add a custom list of ciphersuites which are thought to be the most secure options. Signed-off-by:
Aaron Lehmann <aaron.lehmann@docker.com>
-
- Jul 21, 2015
-
-
Sylvain Baubeau authored
Signed-off-by:
Sylvain Baubeau <sbaubeau@redhat.com>
-
- Jun 17, 2015
-
-
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:Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
-
- Jun 12, 2015
-
-
yuzou authored
Signed-off-by:
yuzou <zouyu7@huawei.com>
-
- Jun 11, 2015
-
-
Stephen J Day authored
Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
Dave Trombley authored
Signed-off-by:
Dave Trombley <dave.trombley@gmail.com>
-
- Jun 06, 2015
-
-
xiekeyang authored
Signed-off-by:
xiekeyang <xiekeyang@huawei.com>
-
- Jun 04, 2015
-
-
Stephen J Day authored
Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
- May 11, 2015
-
-
Anton Tiurin authored
Allow to use a unix socket as a listener. To specify an endpoint type we use an optional configuration field 'net', as there's no way to distinguish a relative socket path from a hostname. Signed-off-by:
Anton Tiurin <noxiouz@yandex.ru>
-
- Apr 15, 2015
-
-
Stephen J Day authored
Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
- Apr 14, 2015
-
-
Richard Scothern authored
-
- Apr 10, 2015
-
-
Stephen J Day authored
Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
Stephen J Day authored
This moves the instance id out of the app so that it is associated with an instantiation of the runtime. The instance id is stored on the background context. This allows allow contexts using the main background context to include an instance id for log messages. It also simplifies the application slightly. Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
- Apr 01, 2015
-
-
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)
-
- Mar 25, 2015
-
-
Simon Thulbourn authored
Add the ability to authenticate against multiple client CA certificates. Signed-off-by:
Simon Thulbourn <simon+github@thulbourn.com>
-
Stephen J Day authored
To allow flexibility in log message context information, this changeset provides the ability to configure static fields that are included in the context. Such fields can be set via configuration or environment variables. Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
- Mar 24, 2015
-
-
Stephen J Day authored
This changeset simply adds hooks into the configuration system to support multiple different kinds of output formats. These formatters are provided by logrus and include options such as "text" and "json". The configuraiton documentation has been updated accordingly. Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
- Mar 21, 2015
-
-
Ahmet Alp Balkan authored
Importing Azure storage driver to make it register itself as a storage driver. Signed-off-by:
Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
-
- Mar 20, 2015
-
-
Diogo Mónica authored
Added a expvar style handler for the debug http server to allow health checks (/debug/health). Signed-off-by:
Diogo Monica <diogo@docker.com>
-
- Mar 11, 2015
-
-
David Lawrence authored
middleware concept. This also breaks the dependency the storage package had on goamz Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
-
- Feb 11, 2015
-
-
Stephen J Day authored
This change is slightly more complex than previous package maves in that the package name changed. To address this, we simply always reference the package driver as storagedriver to avoid compatbility issues with existing code. While unfortunate, this can be cleaned up over time. Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
Stephen J Day authored
Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-
Stephen J Day authored
The goal is to free up the distribution/registry package to include common registry types. This moves the webapp definitions out of the way to allow for this change in the future. Signed-off-by:
Stephen J Day <stephen.day@docker.com>
-