Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modify expand_registry_url to support v2 private registries.support_v2_private_registry | Joffrey F | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | Handle passwords with ':' characters. | dlorenc | 2015-03-03 | 1 | -1/+1 |
| | | | | Signed-off-by: dlorenc <lorenc.d@gmail.com> | ||||
* | shorter convert_to_hostname | Joffrey F | 2015-02-27 | 1 | -3/+1 |
| | |||||
* | Update resolve_authconfig to bring it in line with Docker client | Aanand Prasad | 2015-02-27 | 1 | -27/+19 |
| | | | | | | | Instead of expanding the registry name we're looking for to a full URL, strip entries in the authconfig down to just the hostname. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com> | ||||
* | Additional tests and small improvement to auth.resolve_authconfig | Joffrey F | 2015-02-01 | 1 | -2/+2 |
| | |||||
* | fix registry url canonicalization in resolve_authconfig | James Pharaoh | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | removed exception thrown if registry.hub.docker.com is explicitly defined in ↵ | Ken Leidal | 2015-01-08 | 1 | -1/+1 |
| | | | | repository param for client.pull | ||||
* | updated parameter name to make more sense. | abanna | 2014-12-18 | 1 | -6/+4 |
| | |||||
* | adding the ability to login with different dockercfg files. | Alex Banna | 2014-12-18 | 1 | -4/+12 |
| | |||||
* | Fix expand_registry_rul to be consistent with docker client. | Matt Moore | 2014-11-25 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | In docker-py's auth.py the functions 'resolve_repository_name' and 'expand_registry_url' work together to result a hostname prefix to a base URL suitable for interaction as a Docker registry. For example, "docker push foo.com/bar/baz" would try to resolve the hostname "foo.com". These functions loosely correlate to 'ResolveRepositoryName' and 'newEndpoint' in the docker client code, respectively. You can see from their implementations: - ResolveRepositoryName: https://github.com/docker/docker/blob/master/registry/registry.go#L191 - newEndpoint: https://github.com/docker/docker/blob/master/registry/endpoint.go#L71 that neither of them appends 'v1' to the hostname during resolution. This change simply removes the 'v1' suffix from these code paths, which enables docker-py to authenticate against private registries with which the docker client can already. | ||||
* | Don't fallback to HTTP unless insecure_registry is specified when ↵insecure_registry | Joffrey F | 2014-08-22 | 1 | -6/+12 |
| | | | | pushing/pulling | ||||
* | Relative 'errors' imports, for consistency | Aanand Prasad | 2014-04-23 | 1 | -1/+1 |
| | |||||
* | Create scope for docker client specific errors | Evgeniy L | 2014-04-06 | 1 | -6/+9 |
| | | | | | | | | | With more granular and specific exceptions user will be able to handle errors properly. Also changed raising of Exception to more specific TypeError which python raises in case of wrong arguments. | ||||
* | Updated unit tests API version, flake8 fixes | shin- | 2014-04-04 | 1 | -0/+1 |
| | |||||
* | Make sure the build command in the client sends the auth credentials along. ↵ | Joseph Schorr | 2014-04-04 | 1 | -0/+10 |
| | | | | Required for "FROM " lines that pull from private registries | ||||
* | Fixes for flake8 | Evgeniy L | 2014-03-28 | 1 | -1/+1 |
| | | | | | | Next rules were broken * E265 block comment should start with '# ' * E713 test for membership should be 'not in' | ||||
* | Use relative imports | Aanand Prasad | 2014-01-16 | 1 | -1/+1 |
| | |||||
* | Rework auth config loading and use of auth data for login/pull/push | Maxime Petazzoni | 2014-01-07 | 1 | -41/+59 |
| | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
* | fix auth ping to https | Fernando | 2013-11-28 | 1 | -1/+1 |
| | |||||
* | Fixed auth stuff for Python 3 | shin- | 2013-11-15 | 1 | -2/+2 |
| | |||||
* | Avoid an additional level of indentation | shin- | 2013-11-08 | 1 | -21/+23 |
| | |||||
* | Don't fail loading the configuration when .dockercfg doesn't exist | Maxime Petazzoni | 2013-11-07 | 1 | -27/+30 |
| | | | | Signed-off-by: Maxime Petazzoni <max@signalfuse.com> | ||||
* | Fixed typo | Jason Sommer | 2013-10-20 | 1 | -1/+1 |
| | |||||
* | Refactoring, Python 3 compatibility, Tests working with python 3, cleaned up ↵ | shin- | 2013-10-15 | 1 | -0/+130 |
imports. |